2011/9/29 Bjarni Rúnar Einarsson <b...@pagekite.net>:
> If you have mutt installed (a popular text-mode mail reader/writer),
> you can get the same thing done without any scripting:
>
> $ echo 'Here you go' |mutt recipi...@domain.com -s 'My subject' -a 
> /path/to/file

... following up to myself, one of the main benefits to this approach
is you can have multiple -a arguments to attach multiple files, and if
you run just 'mutt -a /path/to/file -a /path/to/file2', it will
interactively ask you to fill in the blanks.

Although a bit long in the tooth, I think mutt is probably still king
of the console mail clients. :-)

-- 
Bjarni R. Einarsson
Founder, lead developer of PageKite.

Make localhost servers visible to the world: http://pagekite.net/

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.

Reply via email to