在转发/回复时保留Outlook mailItem属性(互联网标题)不被删除 [英] Keep Outlook mailItem property (internet header) from being removed when forwarded/replied
问题描述
我试图启动由同一个ID定义的邮件线程(ID需要是与我们数据库中的ID相同的特定值)。我可以像这样分配一个自定义Internet头:
sendMail.PropertyAccessor.SetProperty(http://schemas.microsoft .com / mapi / string / {00020386-0000-0000-C000-000000000046} / DCPID,taskId);
其中sendMail是 olMailItem
和 taskId
是需要的id。
当这封邮件发送并收到时,我可以用 GetProperty
方法,但是当转发或回复时,互联网标题被删除,我无法再访问此属性。
是否有办法让您的自定义网络标头不被移除,无论它在哪里?
否,回复或转发时无法保留自定义邮件标题。
I'm trying to start up a thread of mails defined by the same ID (ID needs to be a specific value equal to the one in our database). I can assign a custom internet header just fine like this:
sendMail.PropertyAccessor.SetProperty("http://schemas.microsoft.com/mapi/string/{00020386-0000-0000-C000-000000000046}/DCPID", taskId);
Where the sendMail is an olMailItem
and taskId
is the id needed.
When this mail is sent and recieved I can get my ID with the GetProperty
method but when forwarded or replied the internet header gets removed and I can't access this property anymore.
Is there a way to keep your custom internet header from being removed, no matter where it goes?
No, there is no way to preserve a custom message header on reply or forward.
这篇关于在转发/回复时保留Outlook mailItem属性(互联网标题)不被删除的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!