Hi,

> For my manager I need to write a script to extract the From: e-mail addresses from his e-mail account.

Use reformail with "-x":



http://www.courier-mta.org/reformail.html


> Extracting headers
>
> The -x and -X options extract the indicated headers from the message, and print them to standard output. Multiple -x and -X options can be specified at the same time, and may be intermixed.
>
> The -x option extracts and prints the contents of the header. The -X option prints the name of the header as well.

Reply via email to