Author |
|
Renzo Newbie
Joined: 09 June 2009 Location: Italy
Online Status: Offline Posts: 1
|
Posted: 09 June 2009 at 6:23am | IP Logged
|
|
|
- I read a mail message;
- This message is a bounce message and contains 13 MimePart;
- I would like to read value (<PartValue> tag in xml serialize) of a specific mimepart (ContentType == "message/delivery-status")
but I don't find the correct property that contains what I want.
This is a part of my code:
foreach (MimePart mimePart in mailMsg.MimePartTree.GetAllParts())
{
if (mimePart.ContentType.Equals("message/rfc822") || mimePart.ContentType.Equals("message/delivery-status"))  ;   ;   ;   ; {
// Here I want The partvalue of currente mimepart
}
}
Thanks in advance
|
Back to Top |
|
|
Alex AfterLogic Support
Joined: 19 November 2003
Online Status: Offline Posts: 2206
|
Posted: 09 June 2009 at 6:59am | IP Logged
|
|
|
If you print values for every mimePart.ContentType in this foreach, what do you get?
Regards,
Alex
|
Back to Top |
|
|