Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

How to send an email with attachment using the command line

0 views
Skip to first unread message

NYT

unread,
Mar 1, 2001, 4:50:02 AM3/1/01
to
Hi,

May I know the syntax to send a email out with attachment.

I have successfully tried using
"mailx -s test yao...@singtel.com "
to send out the email but I would like to improve it by having it able to
send out attachment as well.

Thanks
YT

web...@mpiz-koeln.mpg.de

unread,
Mar 1, 2001, 6:26:43 AM3/1/01
to
NYT <yao...@singtel.com> wrote:

use mpack. It's available from here:

ftp://ftp.andrew.cmu.edu/pub/mpack/

Greetings,
BtI aka #2

Artem I. Ivanov

unread,
Mar 1, 2001, 1:14:13 PM3/1/01
to
Hi, All

<web...@mpiz-koeln.mpg.de> wrote in message
news:97lblj$22p3$1...@gwdu67.gwdg.de...


> NYT <yao...@singtel.com> wrote:
>
> > I have successfully tried using
> > "mailx -s test yao...@singtel.com "
> > to send out the email but I would like to improve it by having it able
to
> > send out attachment as well.
>

( echo "Text for e-mail's body"; uuencode File_to_attach
Name_for_this_file ) | mail -s Subject anybody@domain

Artem Ivanov (iva...@masterbank.ru)

0 new messages