Author |
|
asabi Newbie
Joined: 04 November 2006 Location: Canada
Online Status: Offline Posts: 2
|
Posted: 04 November 2006 at 8:35am | IP Logged
|
|
|
I am trying to download messages into HTML documents. It works great for English, but not to other languages (I have all of the fonts, the emails look fine in my email client).
I noticed there is a "Codepage" in the ActiveX component, but there is nothing in the .NET IMAP component.
Any help will be appreciated.
|
Back to Top |
|
|
Alex AfterLogic Support
Joined: 19 November 2003
Online Status: Offline Posts: 2206
|
Posted: 04 November 2006 at 9:43am | IP Logged
|
|
|
What exactly goes wrong (characters replaced with "???", characters disappear, garbage displayed, etc)? Please provide us with the message which causes problem (please send it as .EML attachment to your reply), the code you're using to save the message, and the information about your application and environment where it's being run. For instance, it's very imporant if the app is being run on your desktop machine (where your mail displays this mail fine) or on a web server (which may have default codepage different from yours).
You can send this information to support@afterlogic.com.
We'll examine the e-mail message and your code and let you know how the problem could be solved.
As for codepage-related features in MailBee.NET, you can use any of the following:
- Global.DefaultEncoding
- MailMessage.Parser.CharsetMetaTagMode
Also, there is MailMessage.Parser.CharsetConverter object (provides several special-purpose properties).
Regards,
Alex
|
Back to Top |
|
|
asabi Newbie
Joined: 04 November 2006 Location: Canada
Online Status: Offline Posts: 2
|
Posted: 05 November 2006 at 1:01pm | IP Logged
|
|
|
Thank you very much for the help:
It was a combination of specifying the
msg.Parser.CharsetMetaTagMode = CharsetMetaTagProcessing.SetCorrectCharset;
and specifying the correct encoding on the browser.
:-)
Alon
|
Back to Top |
|
|