Try something like this:
# echo "test body" | mail -s "test subject" last.first@test-domain.com
-----Original Message-----
From: kaveh taghi-zadeh [mailto:kaveh_t@hotmail.com]
Sent: Monday, August 06, 2001 12:00 PM
To: nv-l@tkg.com
Subject: [NV-L] sendmail
Hi,
I'm trying to setup sendmail on my Solaris 7 machine.
I'll be trying to send email notifications from NV.
Could anyone tell me the sendmail command to send an email
e.g. with the subject 'hi' to e.g. user@foo.com ?
and: could anyone share a simple sendmail config.file
'sendmail.cf' which is modified just as much as to
be able to send an email?
Thanks a lot!
_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp
|