Putting It All Together: Writing an E-mail Parser

A common task that utilizes the power of expressions is the extraction of e-mail addresses from Web pages and documents. For example, you might want to communicate en masse with the various people you met at a recent seminar by programmatically parsing a group of e-mail documents, filtering out all the e-mails, and sending a note to each address. Additionally, you might have the need to harvest e-mail addresses from a collection of Web pages or a complete domain for marketing purposes. Finally, you might need to verify that a given e-mail address is valid. (While you can't be sure of the validity of an e-mail address without sending and receiving data, you can at least verify the format of the ...

Get Extending MFC Applications with the .NET Framework now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.