Search The ForumSearch   RegisterRegister  LoginLogin

MailBee.NET Objects

 AfterLogic Forum : MailBee.NET Objects
Subject Topic: Use international characters Post ReplyPost New Topic
Author
Message << Prev Topic | Next Topic >>
Paulo Moreno
Newbie
Newbie


Joined: 23 October 2006
Location: Brazil
Online Status: Offline
Posts: 3
Posted: 05 February 2007 at 1:55pm | IP Logged Quote Paulo Moreno

How I use international characters in email body. like as ;

São Paulo, çedilha, ...

thanks
Back to Top View Paulo Moreno's Profile Search for other posts by Paulo Moreno
 
Andrew
AfterLogic Support
AfterLogic Support


Joined: 28 April 2006
Location: United States
Online Status: Offline
Posts: 1189
Posted: 06 February 2007 at 3:13am | IP Logged Quote Andrew

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 View Andrew's Profile Search for other posts by Andrew
 
Paulo Moreno
Newbie
Newbie


Joined: 23 October 2006
Location: Brazil
Online Status: Offline
Posts: 3
Posted: 07 February 2007 at 6:41am | IP Logged Quote Paulo Moreno

Andrew,

Very thanks it's ok now !!!

Best regards,

Paulo Moreno
Back to Top View Paulo Moreno's Profile Search for other posts by Paulo Moreno
 

If you wish to post a reply to this topic you must first login
If you are not already registered you must first register

  Post ReplyPost New Topic
Printable version Printable version

Forum Jump

Powered by Web Wiz Forums version 7.9
Copyright ©2001-2004 Web Wiz Guide