Author |
|
Paulo Moreno Newbie
Joined: 23 October 2006 Location: Brazil
Online Status: Offline Posts: 3
|
Posted: 05 February 2007 at 1:55pm | IP Logged
|
|
|
How I use international characters in email body. like as ;
São Paulo, çedilha, ...
thanks
|
Back to Top |
|
|
Andrew AfterLogic Support
Joined: 28 April 2006 Location: United States
Online Status: Offline Posts: 1189
|
Posted: 06 February 2007 at 3:13am | IP Logged
|
|
|
You should use MailMessage.Charset property. For instance, you may use UTF-8 charset:
Code:
// Create new MailMessage object.
MailMessage msg = new MailMessage();
// Specify the message charset.
msg.Charset = "utf-8";
// Set the plain-formatted body of the message.
msg.BodyPlainText = "São Paulo, çedilha"; |
|
|
You can learn more about using charsets from MailBee.NET Objects documentation. For instance, complete sample of composing message with UTF8 charset, MailMessage.Charset property description.
Best regards,
Andrew
|
Back to Top |
|
|
Paulo Moreno Newbie
Joined: 23 October 2006 Location: Brazil
Online Status: Offline Posts: 3
|
Posted: 07 February 2007 at 6:41am | IP Logged
|
|
|
Andrew,
Very thanks it's ok now !!!
Best regards,
Paulo Moreno
|
Back to Top |
|
|