Search The ForumSearch   RegisterRegister  LoginLogin

MailBee.NET POP3

 AfterLogic Forum : MailBee.NET POP3
Subject Topic: Raw Mime Text Post ReplyPost New Topic
Author
Message << Prev Topic | Next Topic >>
NobodyFamous
Newbie
Newbie
Avatar

Joined: 19 October 2007
Location: Canada
Online Status: Offline
Posts: 11
Posted: 30 October 2007 at 12:25pm | IP Logged Quote NobodyFamous

Hi,

I'm working with another component to handle Bounced mail detection, and in order to have it evaluate a message, it is asking for a simple string mimeText parameter.

I'm a bit confused as to what I should be passing from my Mime.MailMessage. I see a MimePartTree property, but I'm not sure what out of there would give me a single string of all the necessary mime data in an email.

Any ideas?
Back to Top View NobodyFamous's Profile Search for other posts by NobodyFamous
 
Alex
AfterLogic Support
AfterLogic Support
Avatar

Joined: 19 November 2003
Online Status: Offline
Posts: 2206
Posted: 30 October 2007 at 1:19pm | IP Logged Quote Alex

You should use GetMessageRawData method. It returns byte array which you can then convert into a string (if your component needs it as a string) using System.Text.Encoding.Default.GetString method.

Regards,
Alex
Back to Top View Alex's Profile Search for other posts by Alex
 

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