Email from command line with attachment

Mauricio Vergara Ereche mave at nic.cl
Tue May 16 21:53:11 UTC 2006


El Martes, 16 de Mayo de 2006 17:38, bruce escribió:
> stephan...
>
> i don't recall the complete mail command but it's pretty easy.
>
> something like "mail -u foo at c.com -a "file"
>
> if you check the man page/google for the linux "mail" command, you'll
> find the format in a few mins!!

mutt can do that...

cat body-message | mutt -a "file" -s "subject" user at foo.bar

-- 
Mauricio Vergara Ereche                   User #188365 counter.li.org
NIC Chile                                         mave [@] nic [.] cl
Agustinas 1357 Piso 4, Santiago CHILE                   +56 2 9407721
Codigo Postal: 834-0432                             http://www.nic.cl




More information about the users mailing list