On Thu, Nov 23, 2000 at 03:29:14PM +0800, Steve Marcionni wrote:
> I need to be able to send a mail message from the command line which allows
> me to attach a file. Can this be done without having the mail screen appear
> and making me select y to send the message ???
Yes, compose your message in a separate file, then use:
mutt -a attachment.file user@domain < message.file
If you want to *only* send an attachment with an empty message body..
mutt -a attachment.file user@domain < /dev/null
I've just tested both of these with mutt-1.2.5i and they seem to work.
Hope that helps.
G'luck,
Peter
--
If the meanings of 'true' and 'false' were switched, then this sentence wouldn't be
false.