Rank: Newbie
Groups: Registered
Joined: 8/2/2018(UTC)
Posts: 2
Location: Portland
I have an email that has a character set of ISO-2022-KR.
Mail oMail = new Mail("TryIt"); oMail.Load(@"c:\temp\korean.eml", false); Console.Write(message.HtmlBody);MIME-Version: 1.0 Subject: Korean To: Skip_Jones/acme%na Message-ID: <OF156BF84E.5E4961F2-ON862580F1.004B5349-882580F1.004B80AB@LocalDomain> From: Maarko_Rajamma/acme Date: Tue, 28 Mar 2017 06:44:40 -0700 Content-type: text/html; charset=ISO-2022-KR Content-Disposition: inline <html><body> <p><font size="2" face="sans-serif">우리는 당신에게 메리 크리스마스, 해피 뉴 위시<br> </font><font size="2" face="sans-serif"><br> </font><font size="2" face="sans-serif"><br> </font><font size="2" face="sans-serif">We wish you a merry christmas and a happy new year<br> </font></body></html> When I use eagetmail v4.6.5.7 to Load the message the HTMLBody is not displayed correctly.
<html><body> <p><font size="2" face="sans-serif">????????? ???????????? ?????? ???????????????, ?????? ??? ??????<br> </font><font size="2" face="sans-serif"><br> </font><font size="2" face="sans-serif"><br> </font><font size="2" face="sans-serif">We wish you a merry christmas and a happy new year<br> </font></body></html>vIf I edit the .eml file content-type"...
MIME-Version: 1.0 Subject: Korean To: Skip_Jones/acme%na Message-ID: <OF156BF84E.5E4961F2-ON862580F1.004B5349-882580F1.004B80AB@LocalDomain> From: Maarko_Rajamma/acme Date: Tue, 28 Mar 2017 06:44:40 -0700 Content-type: text/html; charset=UTF-8 Content-Disposition: inline <html><body> <p><font size="2" face="sans-serif">우리는 당신에게 메리 크리스마스, 해피 뉴 위시<br> </font><font size="2" face="sans-serif"><br> </font><font size="2" face="sans-serif"><br> </font><font size="2" face="sans-serif">We wish you a merry christmas and a happy new year<br> </font></body></html>Then everything displays as it should.
<html><body> <p><font size="2" face="sans-serif">우리는 당신에게 메리 크리스마스, 해피 뉴 위시<br> </font><font size="2" face="sans-serif"><br> </font><font size="2" face="sans-serif"><br> </font><font size="2" face="sans-serif">We wish you a merry christmas and a happy new year<br> </font></body></html>vHow can I get EAGetMail to force UTF-8? Or, is there something I'm missing that would allow this to parse properly?
Rank: Newbie
Groups: Registered
Joined: 8/2/2018(UTC)
Posts: 2
Location: Portland
I've been in contact with Ivan from the EAGetMail team. The messages were improperly encoded. There is no way to know if the message is being rendered properly as they are just bits mapped to a character overlay based on the stated content type. Garbage In, Garbage Out.
Forum Jump
EmailArchitect Support
Email Component Development
- EASendMail SMTP Component - .NET Version
- EASendMail SMTP Component - Windows Store Apps
- EASendMail SMTP ActiveX Object
- EAGetMail POP3 & IMAP4 Component - .NET Version
- EAGetMail POP3 & IMAP4 ActiveX Object
Exchange Server and IIS SMTP Plugin
- DomanKeys/DKIM for Exchange Server and IIS SMTP
- Disclaimer and S/MIME for Exchange Server and IIS
EmailArchitect Email Server
- EmailArchitect Email Server (General)
- EmailArchitect Email Server Development
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.