Author |
|
laf1974 Newbie
Joined: 04 December 2010 Location: Italy
Online Status: Offline Posts: 4
|
Posted: 07 May 2011 at 12:54pm | IP Logged
|
|
|
Hi,
I need to set utf-8 charset for an xml attachment, and keep the body charset as 7bit.
I tried with ms.Attachments.Add (see below) but I cannot doing it.
msg.Attachments.Add(Temp + "daticert.xml", "daticert.xml", "", "application/xml", null, NewAttachmentOptions.None, MailTransferEncoding.QuotedPrintable);
There is a way to set a charset for the attachment?
Regards
Luca
|
Back to Top |
|
|
Alex AfterLogic Support
Joined: 19 November 2003
Online Status: Offline Posts: 2206
|
Posted: 08 May 2011 at 2:51am | IP Logged
|
|
|
msg.Attachments.Add(Temp + "daticert.xml", "daticert.xml", "", "application/xml; charset=utf-8", null, NewAttachmentOptions.None, MailTransferEncoding.QuotedPrintable);
This will add Content-Type with charset parameter.
Regards,
Alex
|
Back to Top |
|
|