RSS Search

News  Feeds  Tags  Search Shortcuts

FeedsFarm.com > Problem - Opening .eml files with System.Net.Mail

Problem - Opening .eml files with System.Net.Mail

13th Nov 2006, 18:46 GMT

Hi all, I have a directory with a few thousand emails my organisation has recevied but can't deliver (i.e. mostly spam). I need to write a tool to enumerate all these emails on a regular basis and then update some stats in a db. I was hoping I could create a new MailMessage object and somehow read in the contents of the file, so I then have a nice object to play with. I can't seem to get this to work. Does anyone know of a way I can populate an EmailMEssage class with the contents of a file? Otherwise I will have to write the email parsing code from scratch. Cheers,

View full story at channel9.msdn.com

Problem - Opening .eml files with System.Net.Mail related news:

Latest news from Channel 9: