We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Again- embedded images

Hi,

I try to pull mails from my Exchange server and save them as MSG files. The code is somewhat like:

_client = new ExchangeClient(mailboxURI, credentials);

ExchangeMessageInfoCollection messages = _client.ListMessages(mailbox.InboxUri, false);

foreach (ExchangeMessageInfo info in messages)

{

MailMessage message = _client.FetchMessage(info.UniqueUri);

const int avgMessageSize = 100 * 1024;
using (MemoryStream memStream = new MemoryStream(avgMessageSize))
{
message.Save(memStream, MessageFormat.Msg);

}

If the message contains embedded images, they are not saved in the MSG file, I just see some hyperlink like:

cid:image001.png@01C8A9E5.01CD0F00

Is this by design or do I miss something?

Thanks

Bart

Hello,

The embedded image does not support properly. Anyway, Could you please save the message into eml file for our debugging? You can call the MailMessage.Save(string) to get the eml file format.

Thanks

Hi

I attached both EML and MSG, EML looks ok, MSG shows link which fails to open in Outlook.

Thanks!