问题一: var btnRuntime: TButton; begin btnRuntime := TButton.Create(self); with btnRuntime do begin Parent := Self; //重要,这样才能显示 top := xx; Left:= xx; Width := xx; Height := xx; onClick := YourProcedure; end; end;问题二: 不懂!
既然 *.eml文件是用winzip解码的,那delphi有没有winzip的解码控件?
分析出来的eml格式,具体自己去研究吧Received: from localhost (localhost [127.0.0.1]) by mx3.163.com (Postfix) with SMTP id 13AA51C3906AA for <[email protected]>; Tue, 5 Mar 2002 08:45:54 +0800 (CST) Received: from faonet.fao.net.cn (unknown [211.101.4.23]) by 192.168.1.209 (Coremail) with SMTP id mgEAAEIVhDzsAAQX.1 for <我的mail地址>; Tue, 05 Mar 2002 08:45:54 +0800 (CST) Received: from mail pickup service by faonet.fao.net.cn with Microsoft SMTPSVC; Tue, 5 Mar 2002 08:46:23 +0800 From: "大富翁" <[email protected]> To: <[email protected]> Subject: 主题 Date: Tue, 5 Mar 2002 08:46:22 +0800 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 Message-ID: <[email protected]> X-OriginalArrivalTime: 05 Mar 2002 00:46:23.0078 (UTC) FILETIME=[2C42C060:01C1C3DF]相应内容
还有那个*.eml文件,邮件内容的定位,有没有人知道呀?
再定义这个控件如:Button:=TButton.Create(Self);
Button.Left=10;
Button.Top=10;
Button.Width=60;
Button.Height=30;
var
btnRuntime: TButton;
begin
btnRuntime := TButton.Create(self);
with btnRuntime do
begin
Parent := Self; //重要,这样才能显示
top := xx;
Left:= xx;
Width := xx;
Height := xx;
onClick := YourProcedure;
end;
end;问题二: 不懂!
*.eml文件是用winzip解码的,那delphi有没有winzip的解码控件?
by mx3.163.com (Postfix) with SMTP id 13AA51C3906AA
for <[email protected]>; Tue, 5 Mar 2002 08:45:54 +0800 (CST)
Received: from faonet.fao.net.cn (unknown [211.101.4.23])
by 192.168.1.209 (Coremail) with SMTP id mgEAAEIVhDzsAAQX.1
for <我的mail地址>; Tue, 05 Mar 2002 08:45:54 +0800 (CST)
Received: from mail pickup service by faonet.fao.net.cn with Microsoft SMTPSVC;
Tue, 5 Mar 2002 08:46:23 +0800
From: "大富翁" <[email protected]>
To: <[email protected]>
Subject: 主题
Date: Tue, 5 Mar 2002 08:46:22 +0800
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200
Message-ID: <[email protected]>
X-OriginalArrivalTime: 05 Mar 2002 00:46:23.0078 (UTC) FILETIME=[2C42C060:01C1C3DF]相应内容
我要的是这段内容里的你写的邮件内容?我知道是用base64编码的
但不知道那个是内容的首行,那个是末行,才好解码呀?
base64也是字符串啊!
X-OriginalArrivalTime:看到这个字段了嘛,所有的邮件内容全在跟在它之后
啊,你不就可以分析字符串了:)
他不是整个*.eml文件存为记事本后的内容可以解码?
她只是邮件内容可以解码?即content下面的某几行可以解码/
但我就不知道是那几行?
有资料的话,发到
谢谢!