TSL语言基础
>
Object TSL
>
TSL内置对象使用大全
>
Pop3对象
>
Pop3对象的方法
RetrieveRaw
复制链接
简述
取邮件的原始内容。
定义
RetrieveRaw(MsgId:Integer;Var MsgContent:String):Boolean;
参数
名称
类型
说明
MsgId
integer
邮件ID
MsgContent
String
获取成功时返回的原始邮件内容
返回值
Boolean
获取邮件原始内容是否成功
范例01:获取指定邮件的原始内容
//创建pop3对象
pop3Obj := new pop3("pop3.tinysoft.com.cn","username","password");
ret := pop3Obj.RetrieveRaw(1,msg);
if ret then return msg;
else return "获取指定邮件内容失败!";
//结果:
相关
Login
SendCmd
Connect
Disconnect
DisconnectNotifyPeer
CheckMessages
KeepAlive
Reset
Delete
Top
RetrieveMsgSize
RetrieveMailBoxSize
Retrieve
RetrieveHeader
RetrieveRaw
UIDL
CAPA