[PLUG] Emailing file attachments from a shell script

Travis Spencer travislspencer at gmail.com
Fri Jun 10 05:07:08 UTC 2005


On 6/8/05, Steve D... <blitters at gmail.com> wrote:
> I use the "mutt".
> 
> Thusly:
> echo "Daily Stats" | mutt -s "Daily Stats" -a "status.pdf" -c
> phb at your.org admin at your.org

Me too, but the other day I was helping a student submit an assignment
as an attachment like that and their editor popped up.  It was because
they didn't have $MAIL set up right or something, so mutt asked them
if they wanted to create it.  After we said no and closed the editor,
it sent the e-mail just fine.  Doing that would be a cool trick for a
shell script :)

-- 

Regards,

Travis Spencer
Portland, OR USA



More information about the PLUG mailing list