Embedded images in EML message are not included while converting (C# .NET)

Ok sure.
Please find attached the zip file containing the message file.

ThanksMsgEmail.zip (18.6 KB)

@Ganesh.Hegde,

We have investigated the issue further on our end. In order to include embedded images in output HTML you must save MailMessage with HtmlSaveOptions instead using HtmlBody like following:

if (msg.IsBodyHtml)
            {
                MemoryStream HtmlStream = new MemoryStream();

                //byte[] HtmlBuffer = Encoding.ASCII.GetBytes(msg.HtmlBody);
                //HtmlStream.Write(HtmlBuffer, 0, HtmlBuffer.Length);
                HtmlSaveOptions opt = new HtmlSaveOptions();
                msg.Save(HtmlStream, opt);
}

Can you please try suggested changes on your end.

Mudassir,

Thanks for the suggestion.
We tried your suggestion and it worked… !
We need to check further if it matches with other part of our solution.

Also we observed that HtmlSaveOptions option is not available in 3.4.0.0 version of Aspose.Email.
Please let us know if any similar option is available with 3.4.0.0 version ?

Thanks

@Ganesh.Hegde,

I regret to share that the version that you have referred is no longer supported and we request you to please try using latest version with suggested sample. And you have confirmed that as well that latest version worked.