Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
在 Outlook 2003 宏中;有没有办法在不更改 ReceivedTime-header 的情况下在文件夹之间移动消息?
我目前使用的方法MailItem.Move。但这会自动将ReceivedTime属性设置为当前时间,这并不是我真正想要的。
MailItem.Move
ReceivedTime
我刚刚尝试将邮件项从我的收件箱移动到已删除的项目文件夹,它似乎保持接收时间没有问题......
您可能想尝试使用 MailItem.copy 函数并移动生成的 mailitem 对象,但就像我说的那样,我没有看到同样的问题......
希望有帮助...
执行 item.Save() 然后执行 item.Move(),它将标记当前时间戳。