Friday, February 11, 2005

Sending mail attachments from the command line

SHELLdorado - Sending files as mail attachments
This article shows how to send e-mails from a shell script, including file attachments. It lists different ways (uuencode, MIME), and explains the advantages and disadvantages of each.

The appendix contains a shell script "sendfile" that simplifies sending MIME file attachments using scripts.