本文介绍了用于将电子邮件另存为文本文件的宏,将在规则中使用的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的问题与此线程这一个.我认为我的问题是将这两个问题结合在一起.

My problem is very similar to this thread and this one. I think my issue is to combine these two questions.

我正在跑步:

通过阅读这两个问题以及Microsoft和其他地方的其他一些页面,我能够打开VB编辑器并将其粘贴到此简单代码中:

By reading these two questions as well as some other pages from Microsoft and elsewhere, I was able to open the VB editor and paste into it, this simple code:

Sub SaveEmail(msg As Outlook.MailItem)
  ' save as text
  msg.SaveAs "C:\Users\mel\mailsave\email.txt" & Format(Now, "YYYYMMDDHHMMSS"), _
      olTXT
End Sub

09-05 12:14