Sendmail

From Chorke Wiki
Jump to navigation Jump to search
cat << EOF | sendmail -t 
Sender: no-reply@chorke.org
From: Sender <from@chorke.org>
Reply-To: Sender <from@chorke.org>
To: To <to@chorke.org>
CC: Cc <cc@chorke.org>
Disposition-Notification-To: to@chorke.org
Subject: Generic Subject

Generic Body
EOF

Knowledge

/usr/sbin/sendmail -t < filename.eml
/usr/sbin/sendmail -v -t < filename.eml
/usr/sbin/sendmail -Am -v -t < filename.eml

References