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

Free Support Forum - aspose.com

Images in emails

Hi

I have installed an evaluation version of Aspose.Email, Aspose.Words and Aspose.PDF from Nuget into my visual studio 2015 solution.

I am trying to assess the capabilities of loading an msg file into a MailMessage and then sending that MailMessage.

The sample code I am using is

MailMessage msg = new MailMessage();

msg = MailMessage.Load(@“c:\temp\test.msg”);

msg.To = "you@email.com";

msg.From = "me@email.com";

msg.Save(@“c:\temp\test.html”, SaveOptions.DefaultHtml);

SmtpClient client = new SmtpClient(“[mail.server.com](http://mail.server.com/)”, 25);

client.Send(msg);

This seems to work except for the fact that the resultant email that is received by the recipient seems to only contain a max of 2 images. Is there a limit on number of embedded images?

Hi,


Thank you for contacting Aspose support team.

It seems that you are not using valid license in your testing. You may please visit here to see the limitations which are caused while using the library without license. Please note that complete features can be tested by using the temporary license for 30 days. Get a temporary license, use in your test project and share the feedback.

Thanks. That did the trick

You are welcome and please feel free to write to us in case you have any other inquiry related to the API.