We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Wrong encoding when fetching mails

Hello,


We’ve noticed that the encoding of an e-mail changes when messages sent by Mozilla Thunderbird are being fetched by aspose e-mail. Thus making some characters unreadable (in this case the €-sign).

When the same e-mail is being fetched by Outlook2016, the characters are displayed correctly.
We’re not sure, but maybe the base of the problem relies in the Content-Transfer-Encoding (as seen in the source code of the eml-files).


ImapClient imapclient = new ImapClient(host, port, username, password, SecurityOptions.Auto);

for (ImapMessageInfo msgInfo : coll) {
//Fetching the Encoding_test.eml file
String msgId = msgInfo.getUniqueId();
MailMessage eml = imapclient.fetchMessage(msgId);
eml.save(“C:\Encoding_test_fetchedAspose.eml”);
}


Using Aspose email 6.1.0, JDK1.7

Could you be kind looking into this issue?
Friendly regards

Could you please be kind enough to send this email to our test account, UserOne@Aspose2016Mar.onmicrosoft.com ? This will allow us to download it using ImapClient of the API and reproduce the issue at our end, as we were unable to do so by appending it from our end. Once done, please let us know for further assistance in this regard.

Hello,

I’ve just sent an email to UserOne@Aspose2016Mar.onmicrosoft.com.

Subject of mail : “Wrong encoding when fetching mails”.

Sender of mail : "samnang.nop@*******.com

Thank you for your time

Hi,

Thank you for sharing the sample file.

The issue is already known to us for special characters encoding with Office 365 and emails from Mozilla Thunderbird. The issue is logged as EMAILJAVA-33572 in our issue tracking system for further investigation by our Product team. We’ll update you here once there is some information available in this regard.

Hello
The same issue exists in aspose.email for .net.

samnang.nop:
Hello,

We've noticed that the encoding of an e-mail changes when messages sent by Mozilla Thunderbird are being fetched by aspose e-mail. Thus making some characters unreadable (in this case the €-sign).

When the same e-mail is being fetched by Outlook2016, the characters are displayed correctly.
We're not sure, but maybe the base of the problem relies in the Content-Transfer-Encoding (as seen in the source code of the eml-files).


ImapClient imapclient = new ImapClient(host, port, username, password, SecurityOptions.Auto);

for (ImapMessageInfo msgInfo : coll) {
//Fetching the Encoding_test.eml file
String msgId = msgInfo.getUniqueId();
MailMessage eml = imapclient.fetchMessage(msgId);
eml.save("C:\\Encoding_test_fetchedAspose.eml");
}


Using Aspose email 6.1.0, JDK1.7

Could you be kind looking into this issue?
Friendly regards

Hi,

The issue is already known for .NET version of the API and is linked to another thread where this was reported. Once it gets resolved for .NET version, the correction will be automatically included for the Java version as well. We’ll update you here once the fix version is available for download.

The issues you have found earlier (filed as EMAILJAVA-33572) have been fixed in this update.


This message was posted using Notification2Forum from Downloads module by Aspose Notifier.