Author |
|
jvinis Newbie
Joined: 20 May 2008
Online Status: Offline Posts: 18
|
Posted: 22 December 2008 at 1:50am | IP Logged
|
|
|
When i create a EML file with MailBee.Mime.MailMessage, the computer have US-settings and the message contains Greek characters then when i read the message contains ???????? chars.
My need is to accept every language russian, chinese, ...
So how can i set UTF8 settings to accept all languages.
Thanks
|
Back to Top |
|
|
Igor AfterLogic Support
Joined: 24 June 2008 Location: United States
Online Status: Offline Posts: 6104
|
Posted: 22 December 2008 at 3:08am | IP Logged
|
|
|
You should set UTF-8 charset in MailMessage.Charset property:
Regards,
Igor
|
Back to Top |
|
|
jvinis Newbie
Joined: 20 May 2008
Online Status: Offline Posts: 18
|
Posted: 22 December 2008 at 3:36am | IP Logged
|
|
|
When i set msg.Charset = "utf-8"; the application is slowdown by 100000000%
Why?
|
Back to Top |
|
|
jvinis Newbie
Joined: 20 May 2008
Online Status: Offline Posts: 18
|
Posted: 22 December 2008 at 3:40am | IP Logged
|
|
|
I create a message with subject and body:Test Ελληνικών 2
And the EML file contains:
Subject: =?Windows-1252?Q?Test_=3F=3F=3F=3F=3F=3F=3F=3F=3F_2?=
Importance: Normal
X-Priority: 3 (Normal)
From:
Date: Mon, 22 Dec 2008 03:29:12 -0800
X-Mailer: MailBee.NET 4.0.2.105
MIME-Version: 1.0
Content-Type: multipart/alternative;
boundary="----=_NextPart_001_5 F74_E335B61C.7D9C17D6"
------=_NextPart_001_5F74_E335B61C.7D9C17D6
Content-Type: text/plain;
charset="utf8"
Content-Transfer-Encoding: quoted-printable
Test ????????? 2
------=_NextPart_001_5F74_E335B61C.7D9C17D6
Content-Type: text/html;
charset="utf8"
Content-Transfer-Encoding: quoted-printable
Test ????????? 2
------=_NextPart_001_5F74_E335B61C.7D9C17D6--
|
Back to Top |
|
|
jvinis Newbie
Joined: 20 May 2008
Online Status: Offline Posts: 18
|
Posted: 22 December 2008 at 4:02am | IP Logged
|
|
|
I clear Temporary internet files and problems solved .....
|
Back to Top |
|
|
Andrew AfterLogic Support
Joined: 28 April 2006 Location: United States
Online Status: Offline Posts: 1189
|
Posted: 22 December 2008 at 4:08am | IP Logged
|
|
|
We've just used the following code:
Code:
MailMessage msg = new MailMessage();
msg.Charset = "UTF-8";
msg.Subject = "Test Ελληνικών 2";
msg.BodyHtmlText = "Test Ελληνικών 2";
msg.SaveMessage(@"D:\test_eml.eml"); |
|
|
And got the following message:
Code:
MIME-Version: 1.0
X-Mailer: MailBee.NET 4.0.2.117
Subject: =?utf-8?Q?Test_=CE=95=CE=BB=CE=BB=CE=B7=CE=BD=CE=B9=CE=BA=CF =8E=CE=BD_2?=
Content-Type: multipart/alternative;
boundary="----=_NextPart_000_59D2_9E19A2AE.0851C5F2"
------=_NextPart_000_59D2_9E19A2AE.0851C5F2
Content-Type: text/plain;
charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Test =CE=95=CE=BB=CE=BB=CE=B7=CE=BD=CE=B9=CE=BA=CF=8E=CE=BD 2
------=_NextPart_000_59D2_9E19A2AE.0851C5F2
Content-Type: text/html;
charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Test =CE=95=CE=BB=CE=BB=CE=B7=CE=BD=CE=B9=CE=BA=CF=8E=CE=BD 2
------=_NextPart_000_59D2_9E19A2AE.0851C5F2-- |
|
|
Try to update your MailBee.NET.dll to the latest version.
Quote:
When i set msg.Charset = "utf-8"; the application is slowdown by 100000000% |
|
|
Could you please clarify what exactly slows down?
Best regards,
Andrew
|
Back to Top |
|
|