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. reposted from here.
123456789101112131415161718192021222324252627282930313233343536373839404142434445
using System;using System.IO;using System.Text.RegularExpressions;namespace parse.eml{ class Email { string _path,_to,_from,_subject,_urls; public Email(string path) { ...