Sendmail: Difference between revisions

From Chorke Wiki
Jump to navigation Jump to search
No edit summary
Line 19: Line 19:
{|
{|
| valign="top" |
| valign="top" |
* [https://www.ibm.com/support/pages/configuring-sendmail-use-username-and-password-authentication Configuring SendMail to use username and password]
* [https://stackoverflow.com/questions/1822425/ Sending mail from a Bash shell script]
* [https://stackoverflow.com/questions/1822425/ Sending mail from a Bash shell script]
* [https://stackoverflow.com/questions/5155923/ Sending a mail from a shell script]
* [https://stackoverflow.com/questions/5155923/ Sending a mail from a shell script]

Revision as of 20:48, 30 July 2021

cat << EOF | sendmail -t 
Sender: [email protected]
From: Sender <[email protected]>
Reply-To: Sender <[email protected]>
To: To <[email protected]>
CC: Cc <[email protected]>
Disposition-Notification-To: [email protected]
Subject: Generic Subject

Generic Body
EOF

Knowledge

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

References