Author |
|
Matteo Pasquali Newbie
Joined: 22 February 2007 Location: Italy
Online Status: Offline Posts: 1
|
Posted: 22 February 2007 at 8:51am | IP Logged
|
|
|
Hi everybody,
a question about encoding. I use the MailBee in Visual Studio 2005 and I would like to know how to read a Base64 encoded message. Is it sufficient, for example, to print msg.BodyPlainText to get the text of the message? So, does MailBee automatically recognize the Encoding, or should I perform some other tasks? It is not very clear to me from documentation.
Thanx
Matteo Pasqualin
|
Back to Top |
|
|
Andrew AfterLogic Support
Joined: 28 April 2006 Location: United States
Online Status: Offline Posts: 1189
|
Posted: 22 February 2007 at 9:25am | IP Logged
|
|
|
MailBee.NET Objects performs all low-level tasks for you. It recognizes encoding and all other things automatically and doesn't matter if a body encoded in Base64 or QuotedPrintable, you'll get bodies, attachments, headers properly decoded. To get plain text and HTML bodies of the message decoded, you should use msg.BodyPlainText and msg.BodyHtmlText properties. Still, if for some reason you need access to raw parts of message, you can use msg.MimePartTree property.
Best regards,
Andrew
|
Back to Top |
|
|