[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Email with attachments from the command line
On Tue, Jan 29, 2002 at 03:58:52PM -0600, aaron@cronkright.com wrote:
> I need to send an email with an attachment from the command line. I
> have tried to use the "mail" command but found it is not able to send
> a file as an attachment.
echo 'message' | mutt -a file -s 'subject' recipient
I also have a little perl script that I used to use back in the days
before mutt. :-)
http://www.silug.org/~steve/software/scripts/perl/sendfile
That requires installing MIME::Lite though. It's probably easier to
use mutt...
Steve
--
steve@silug.org | Southern Illinois Linux Users Group
(618)398-7360 | See web site for meeting details.
Steven Pritchard | http://www.silug.org/
-
To unsubscribe, send email to majordomo@luci.org with
"unsubscribe luci-discuss" in the body.