Free Support Forum - aspose.com

Smiley character replaced with character code

Hi Aspose,

We have attached msg file, When we extract email body from it with below code at that time smiley character replaced with character code.

using (MemoryStream memoryStream = new MemoryStream(DocumentData))
{
	using (MailMessage mailMessage = MailMessage.Load(memoryStream))
	{
		EmailHtmlBody = mailMessage.HtmlBody + "";
	}
}

Please advise.

Smiley Aspose Issue.zip (4.1 KB)

@serversupport,

I have worked with source file shared by you. Can you please share your generated result and expected output so that i may further investigate to help you out.

@Adnan.Ahmad ,

Thanks for prompt response.

Please find output file in attachment.

Thanks.

Output.zip (121.7 KB)

@serversupport,

I like to inform that we have created an issue with ID EMAILNET-39664 in our issue tracking system to investigate and resolve the issue. This thread has been linked with the issue so that you may be notified once issue will be fixed.