【问题标题】:Extract email addresses from Outlook email body using VBA?使用 VBA 从 Outlook 电子邮件正文中提取电子邮件地址?
【发布时间】: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,任何方法都可以。应该是最简单的。 我有很多这样的未送达邮件通知要处理,我需要提取里面的邮件。如果我们可以将电子邮件列表导出到文件中,那就太好了。

【问题讨论】:

    标签: vba outlook


    【解决方案1】:

    我在 Google 上搜索了“outlook vba 退回的电子邮件”并获得了一些有希望的结果:

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2016-04-12
      • 2017-10-09
      • 2019-01-09
      • 2011-12-17
      • 2014-02-14
      • 1970-01-01
      • 1970-01-01
      • 2020-09-28
      相关资源
      最近更新 更多