parsing eml files with c#

Oct 25, 06

here’s a short code snippet showing how to parse the from/to/subject from an eml file as well as any urls located in the message. the regex for urls isn’t perfect. there are a million ways to do url regex, so pick your poison from the web. this is just for example.