C# ...extract email address from inside 100's of text files
- by Developer
My SMTP server got 100's of errors when sending lots of emails. Now have lots of .BAD files each one containing an error message and somewhere in the middle, the actual email address it was supposed to be sent to.
What is the easiest way to extract from each file "just" the "email address", so that I can have a list of the actual failed emails?
I…