Quantcast
Channel: Active questions tagged email - Stack Overflow
Viewing all articles
Browse latest Browse all 29767

Outlook Addin - ItemProperties.Add change the mail format

$
0
0

I am trying to add an Item Property as follow:

Microsoft.Office.Interop.Outlook.ItemProperty property = currentMail.ItemProperties.Add("isCopy", Microsoft.Office.Interop.Outlook.OlUserPropertyType.olYesNo);
property.Value = false;

The issue is that it is changing the email format.

Before adding this property the email was sent as follow:

Formatted enter image description here

After adding this property the email are sent as follow:

No Formatted and with attached file enter image description here

Furthermore, I have already tried UserProperties.Add. The behavior is the same.


Viewing all articles
Browse latest Browse all 29767

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>