ASP通过JMail组件读取邮件列表
当前位置:点晴教程→知识管理交流
→『 技术文档交流 』
[p][br] [br]?? [br][br][br]??? [br]????? [br]??? [br]??? [br]????? [br]????? [br]????? [br]????? [br]????? [br]??? [br]??? [br]?
" ) [br]'set msg=server.createobject("jmail.message")[br]function getattachments() '获得附件[br]?if attachments.count>0 then[br]?? set attachments = msg.attachments[br]??getattachments = attachments(0).name & "(" & attachments(0).size & " bytes)"[br]?else[br]?getattachments=""[br]?end if[br]? end function?? [/p] [p]for i=1 to pop3.count[br]?set msg = pop3.messages.item(i)[br]?set attachments = msg.attachments[br]?if cdate(msg.date)>=riqi then%>[br]??? [br]????? [br]????? [br]????? [br]????? [br]????? [br]????? [br]??? [br]? <%end if[br]? next[br]? pop3.disconnect [br]end if%> [br]
该文章在 2010/7/3 10:52:42 编辑过 |