Quantcast
Channel: Aspose.Email Product Family
Viewing all articles
Browse latest Browse all 1367

Images in emails

$
0
0
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", 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?

Viewing all articles
Browse latest Browse all 1367

Trending Articles