TSL语言基础 > Object TSL > TSL内置对象使用大全 > Pop3对象 > Pop3对象的方法

CheckMessages    

简述

返回邮件的个数。
定义
CheckMessages():Integer;
  • 范例



    //登陆并返回邮箱中邮件数量
    ret:=CreateObject('PoP3','POP3.TINYSOFT.COM.CN',uname,password);
    return ret.CheckMessages();//返回整数
相关