【发布时间】:2011-08-24 14:33:40
【问题描述】:
我在我公司的交换服务器中使用带有登录 ID 的 Outlook 2000。
我在个人文件夹下有一个名为“undelivered_email”的文件夹。我设置了一个规则来移动所有标题类似于“未送达的电子邮件”的电子邮件的副本。
现在,我怎样才能遍历这个“undelivered_email”文件夹中的所有电子邮件,并访问每封电子邮件的正文,然后在 content bodyinside 中获取任何电子邮件地址>?
例如,这是未送达电子邮件通知内容的副本:
####################################################################
# THIS IS A WARNING ONLY. YOU DO NOT NEED TO RESEND YOUR MESSAGE. #
####################################################################
Your message could not be delivered for 1 days, 20 hours, 0 minutes.
It will be retried until it is 3 days, 0 hours, 0 minutes old.
For further assistance, please send mail to <postmaster>
If you do so, please include this problem report. You can
delete your own text from the attached returned message.
< abc@xyz.com >: this domain could be reached at this time
好吧,我真的不需要使用vba,任何方法都可以。应该是最简单的。 我有很多这样的未送达邮件通知要处理,我需要提取里面的邮件。如果我们可以将电子邮件列表导出到文件中,那就太好了。
【问题讨论】: