|
楼主 |
发表于 2010-1-28 16:44:38
|
显示全部楼层
本帖最后由 jiushizhu 于 2010-1-28 16:49 编辑
目前用此方法将就用
#include <pop3.au3>
While 1
Sleep(3000)
_pop3Disconnect ()
_pop3Connect ("pop.qq.com", "用户名", "密码", 110);请填入你的邮箱pop3、用户名与密码
$start = _Pop3Stat ()
For $i = 1 To $start[1]
While 2
$muti= _Pop3Top ($i, 0)
If StringInStr($data,"Subject:") Then ExitLoop
Sleep(50)
WEnd
$bt1 = StringMid($muti,StringInStr($muti,"Subject:")+9,StringInStr($muti,"Date:")-StringInStr($muti,"Subject:")-11)
ToolTip($start[1]&"/"&$i&" "&$bt1,20,20)
Next
WEnd
我在循环2内加了循环限次 万一读不到就死了 |
|