M
mrashidsaleem
I have been looking in BCL for utility class(es) that could help me
parse a multipart mime message but the search ended with no luck. I
guess parsing such messages (email message is an example of multipart
mime message, http does support multipart mime messages as well) is a
very common requirement and wonder why MS opted not to include a
utility class for that (although classes like
System.Net.Mail.MailMessage, System.Web.HttpRequest etc. do support
creating/loading such messages).
I am looking for an implementation that could help me do the following
tasks (a rather basic implementation of a multipart mime message
parser as a .NET class).
1. Load a message from a file stream or string
2. Give me the collection of message headers (name value collection)
3. Give me the content (body part; without headers)
4. Give me parts of the messages for a multipart message individually
as a separate mime message object or something like that
5. Support for encoding / decoding would be an added advantage
A Multipart mime message writer class would also be a great one to
have.
See if anybody could help pointing out "hidden" classes in BCL or free
utility classes written by third parties...
parse a multipart mime message but the search ended with no luck. I
guess parsing such messages (email message is an example of multipart
mime message, http does support multipart mime messages as well) is a
very common requirement and wonder why MS opted not to include a
utility class for that (although classes like
System.Net.Mail.MailMessage, System.Web.HttpRequest etc. do support
creating/loading such messages).
I am looking for an implementation that could help me do the following
tasks (a rather basic implementation of a multipart mime message
parser as a .NET class).
1. Load a message from a file stream or string
2. Give me the collection of message headers (name value collection)
3. Give me the content (body part; without headers)
4. Give me parts of the messages for a multipart message individually
as a separate mime message object or something like that
5. Support for encoding / decoding would be an added advantage
A Multipart mime message writer class would also be a great one to
have.
See if anybody could help pointing out "hidden" classes in BCL or free
utility classes written by third parties...