Mailitem Copy() loose HTML format

M

Massimo

I'm writing a small app that would copy mail messages based on some sort
rule.
I'm having problems copying Mailitems, since it loose html format of the
duplicated messages.

I'm using Outlook 2007 SP3, VS2010 and C#. The mailserver is Kerio 7.2
with its Kerio Offline Connector;

The code is quite simple and the node is the simple Mailitem.Copy() method:

Outlook.MailItem m_cpy = mail.Copy();

I also tried to force the HTMLBody property:

m_cpy.HTMLBody = mail.HTMLBody;
m_cpy.Save();

but with no difference, the copied message is plain text with images
attached.

Any idea?

Thank you,

Massimo
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top