System Administrator <[EMAIL PROTECTED]> wrote:
> 
> Can anyone help me mail thru command line ? 
> 
> I need to mail with attachements. i.e mail a user thru command line
> options and where in i need to send some files as attachments in the same
> mail.

This is an MUA issue.  One easy way to get full MIME encoding from the
commandline would be to install mutt (www.mutt.org) and call it from
the commandline:

mutt [EMAIL PROTECTED] -a attachment1.txt -a attachment2.txt <<EOF
From: "Me" <[EMAIL PROTECTED]>
To: "Recipient" <[EMAIL PROTECTED]>
Subject: Mail with attachments sent from commandline

Here are your attachments

EOF

Charles
-- 
-----------------------------------------------------------------------
Charles Cazabon                            <[EMAIL PROTECTED]>
GPL'ed software available at:  http://www.qcc.sk.ca/~charlesc/software/
Any opinions expressed are just that -- my opinions.
-----------------------------------------------------------------------

Reply via email to