Sending an email from the unix command prompt.

Michal Dobes dobes na tesnet.cz
Středa Srpen 1 08:14:56 CEST 2001


SHOBOSH wrote:
> mail -s "This is the subject" ardvark na foo.com </tmp/mailfile
> 
> This simply sends an email to ardvark na foo.com, the email contains the ASCII
> contents of /tmp/mailfile. However, there is no way of specifying an attachment
> in MIME format.

For example:
metasend -b -z -S 10000000 -F AvgUpdate -t avgupdate -s "novy AVG update
- $FILENAME z $DATUM" -f pruvodnimsg -m "text/plain" -n -f $FILENAME -m
"application/octet-stream; name=\"$FILENAME\"" -n -f wget.info -m
"text/plain; name=\"wget.log\""

	Majkl


Další informace o konferenci Sendmail