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

Missing content in HTML emails where LANG is used

$
0
0
Hi Aspose, The following code creates an Outlook email where the text "Line 1" is visible, but the text "Line 2" is not visible. MailMessage asposeMessage = new MailMessage(); asposeMessage.From = new Aspose.Email.Mail.MailAddress("lars@nexcom.dk", "Lars Bøndergaard"); asposeMessage.To = new Aspose.Email.Mail.MailAddress("zyq@nexcom.dk", "Zheng Hu"); asposeMessage.Subject = "Test mail"; asposeMessage.HtmlBody = "

Line 1

Line 2

"; asposeMessage.Headers.Add("X-Unsent", "0"); asposeMessage.Save(@"c:\test.msg", SaveOptions.DefaultMsgUnicode); We also have examples where the content in the email is fine, but when the mail is attached to an new email in Outlook, then most of the content in the attached email is missing. With ragards Lars Bøndergaard

Viewing all articles
Browse latest Browse all 1367

Latest Images

Trending Articles



Latest Images