Search The ForumSearch   RegisterRegister  LoginLogin

MailBee.NET POP3

 AfterLogic Forum : MailBee.NET POP3
Subject Topic: Base64 encoded message Post ReplyPost New Topic
Author
Message << Prev Topic | Next Topic >>
Matteo Pasquali
Newbie
Newbie


Joined: 22 February 2007
Location: Italy
Online Status: Offline
Posts: 1
Posted: 22 February 2007 at 8:51am | IP Logged Quote Matteo Pasquali

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 View Matteo Pasquali's Profile Search for other posts by Matteo Pasquali
 
Andrew
AfterLogic Support
AfterLogic Support


Joined: 28 April 2006
Location: United States
Online Status: Offline
Posts: 1189
Posted: 22 February 2007 at 9:25am | IP Logged Quote Andrew

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

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