M
Martynas Kunigelis
Sometimes messages that my add in sends programmatically get converted to
TNEF (by Exchange?) even if they are created in HTML mode. The reason for
this sometimes seems to be presence of attachments, or copying and pasting
some fairly complex formatted text from, say, Word.
I want to avoid this, and have the messages always sent in MIME text plus
HTML format. As far as I understand, in order to avoid this, one has to set
PR_SEND_INTERNET_ENCODING and PR_SEND_RICH_INFO properties on a recipient to
proper values (I do know the values).
The question is: how to do this (in C++, preferably), given a Redemption
ISafeRecipient object?
I can add new recipients with the properties using
IMessage::ModifyRecipients(), but then in some configurations the message
can't be sent because recipients are missing entry IDs. I am creating the
entry IDs using IAddrBook::CreateOnOff(), but I think it would be much
cleaner to be able to set these properties on existing recipients.
Is there a way?
Thanks in advance,
Martynas
TNEF (by Exchange?) even if they are created in HTML mode. The reason for
this sometimes seems to be presence of attachments, or copying and pasting
some fairly complex formatted text from, say, Word.
I want to avoid this, and have the messages always sent in MIME text plus
HTML format. As far as I understand, in order to avoid this, one has to set
PR_SEND_INTERNET_ENCODING and PR_SEND_RICH_INFO properties on a recipient to
proper values (I do know the values).
The question is: how to do this (in C++, preferably), given a Redemption
ISafeRecipient object?
I can add new recipients with the properties using
IMessage::ModifyRecipients(), but then in some configurations the message
can't be sent because recipients are missing entry IDs. I am creating the
entry IDs using IAddrBook::CreateOnOff(), but I think it would be much
cleaner to be able to set these properties on existing recipients.
Is there a way?
Thanks in advance,
Martynas