Author |
|
NobodyFamous Newbie
Joined: 19 October 2007 Location: Canada
Online Status: Offline Posts: 11
|
Posted: 30 October 2007 at 12:25pm | IP Logged
|
|
|
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 |
|
|
Alex AfterLogic Support
Joined: 19 November 2003
Online Status: Offline Posts: 2206
|
Posted: 30 October 2007 at 1:19pm | IP Logged
|
|
|
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 |
|
|