[PLUG] Emailing file attachments from a shell script

Steve D... blitters at gmail.com
Wed Jun 8 20:08:17 UTC 2005


On 6/8/05, Matt Alexander <lowbassman at gmail.com> wrote:
> What is a good way to send emails with file attachments from a shell
> script?  I would need to be able to set the recipient, subject, and
> attach various file types, such as .zip or .doc files.

I use the "mutt".  

Thusly:
echo "Daily Stats" | mutt -s "Daily Stats" -a "status.pdf" -c
phb at your.org admin at your.org

Steve D...



More information about the PLUG mailing list