Marcin J. Kraszewski [[EMAIL PROTECTED]] wrote:
> Is there a way in mutt to send an attachment from the command line,
> without invoking an editor? I would like to do this from a shell script
> on an HP-UX machine. TIA.

$ man mutt
...
OPTIONS
       -a file
                     Attach a file to your message using MIME.
...

$ mutt -a attach.txt -s subject [EMAIL PROTECTED] < message_body.txt

-- 
Jeremy Blosser   |   [EMAIL PROTECTED]   |   http://jblosser.firinn.org/
-----------------+-------------------------+------------------------------
"If Microsoft can change and compete on quality, I've won." -- L. Torvalds

PGP signature

Reply via email to