Author |
|
Jason Newbie
Joined: 29 May 2013
Online Status: Offline Posts: 3
|
Posted: 29 May 2013 at 2:27am | IP Logged
|
|
|
Hi,
If the attachment contains some words like "Algeria (الجزائر)", then the file after sent with email will be shown as "Algeria (?????)"
I set like this:
msg.Attachments.Add(fileContent, fileName, "", "application/xml; charset=utf-8", null, NewAttachmentOptions.None, MailTransferEncoding.QuotedPrintable);
If any other settings?
|
Back to Top |
|
|
Igor AfterLogic Support
Joined: 24 June 2008 Location: United States
Online Status: Offline Posts: 6104
|
Posted: 29 May 2013 at 2:44am | IP Logged
|
|
|
Try using EncodeAllHeaders method before sending mail out. Does it help?
--
Regards,
Igor, AfterLogic Support
|
Back to Top |
|
|
Jason Newbie
Joined: 29 May 2013
Online Status: Offline Posts: 3
|
Posted: 29 May 2013 at 4:00am | IP Logged
|
|
|
Used, but there is no effect.
|
Back to Top |
|
|
Igor AfterLogic Support
Joined: 24 June 2008 Location: United States
Online Status: Offline Posts: 6104
|
Posted: 29 May 2013 at 4:12am | IP Logged
|
|
|
To assist you on this further, we need a self-contained sample (with no external dependencies) so that we could run it and replicate the problem. You can submit the sample project via our HelpDesk.
By the way, make sure you run the latest build of the DLL available for download here.
--
Regards,
Igor, AfterLogic Support
|
Back to Top |
|
|
Jason Newbie
Joined: 29 May 2013
Online Status: Offline Posts: 3
|
Posted: 29 May 2013 at 7:05am | IP Logged
|
|
|
I submit the sample:
http://www.afterlogic.com/helpdesk/view-thread.aspx?thread=XXXXXXXX
|
Back to Top |
|
|
Igor AfterLogic Support
Joined: 24 June 2008 Location: United States
Online Status: Offline Posts: 6104
|
Posted: 29 May 2013 at 3:00pm | IP Logged
|
|
|
I'm afraid we can't use that code without the attachment the issue can be reproduced with.
And please avoid posting URLs to your HelpDesk tickets, thanks!
--
Regards,
Igor, AfterLogic Support
|
Back to Top |
|
|
Igor AfterLogic Support
Joined: 24 June 2008 Location: United States
Online Status: Offline Posts: 6104
|
Posted: 29 May 2013 at 10:27pm | IP Logged
|
|
|
Well, the issue is not confirmed. Using your code, I've sent message out, then fetched it from recipient's box and downloaded the attachment, its content is identical to one sent out.
--
Regards,
Igor, AfterLogic Support
|
Back to Top |
|
|