On Wed, 2009-11-04 at 07:19 +0530, Girish Venkatachalam wrote:

> With mutt you can send attachments from the command line like this:
> 
> $ mutt -a /tmp/attach.pdf -s "testing attachments" [email protected]
> 
You can also use mpack - pack a file in MIME format
in either of the two forms below


mpack [-s subject] [-d descriptionfile] [-m maxsize] [-c content-type]
file address ... 

The below will generate outputfile in proper MIME format.
mpack [-s subject] [-d descriptionfile] [-m maxsize] [-c content-type]
-o outputfile

mpack is exactly meant for sending emails with all kinds of attachments
and does nothing else and hence it is a tiny executable which can be
used in shell scripts.

mpack can be downloaded at

http://sourceforge.net/projects/indimail/files/mailpack/mailpack-1.1/mpack-1.6.tar.gz/download


-- Manvendra Bhangui 
http://www.indimail.org 
GPG Pub Key
http://pgp.mit.edu:11371/pks/lookup?op=get&search=0xC7CBC760014D250C 

Let us be charitable, and call it a misleading feature :-) -- Larry Wall
in <[email protected]> 

Attachment: signature.asc
Description: This is a digitally signed message part

_______________________________________________
To unsubscribe, email [email protected] with 
"unsubscribe <password> <address>"
in the subject or body of the message.  
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc

Reply via email to