Sendmail: Difference between revisions

From Chorke Wiki
Jump to navigation Jump to search
Line 23: Line 23:
* [https://www.ibm.com/support/pages/configuring-sendmail-use-username-and-password-authentication Configuring SendMail to use username and password]
* [https://www.ibm.com/support/pages/configuring-sendmail-use-username-and-password-authentication Configuring SendMail to use username and password]
* [https://access.redhat.com/solutions/60803 Configure sendmail for relaying mail over port 587]
* [https://access.redhat.com/solutions/60803 Configure sendmail for relaying mail over port 587]
* [https://stackoverflow.com/questions/34294251/ Capture debug output from Python <code>smtplib</code>]
* [https://access.redhat.com/solutions/6876 Setup and test SMTP AUTH within Sendmail]
* [https://access.redhat.com/solutions/6876 Setup and test SMTP AUTH within Sendmail]
* [https://stackoverflow.com/questions/1822425/ Sending mail from a Bash shell script]
* [https://stackoverflow.com/questions/1822425/ Sending mail from a Bash shell script]
Line 28: Line 29:
* [https://stackoverflow.com/questions/4728393/ Reply-To header to send emails]
* [https://stackoverflow.com/questions/4728393/ Reply-To header to send emails]
* [https://unix.stackexchange.com/questions/223636/ Sendmail Attachment]
* [https://unix.stackexchange.com/questions/223636/ Sendmail Attachment]
* [https://realpython.com/python-send-email/ Python Send Email]


| valign="top" |
| valign="top" |


|}
|}

Revision as of 21:57, 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
/usr/sbin/sendmail -v -t < filename.eml
/usr/sbin/sendmail -Am -v -t < filename.eml

References