Sendmail: Difference between revisions

From Chorke Wiki
Jump to navigation Jump to search
No edit summary
Line 1: Line 1:
==Knowledge==
/usr/sbin/sendmail -t < filename.eml
<source lang="properties">
<source lang="properties">
cat << EOF | sendmail -t  
cat << EOF | sendmail -t  
Line 16: Line 12:
EOF
EOF
</source>
</source>
==Knowledge==
/usr/sbin/sendmail -t < filename.eml


==References==
==References==

Revision as of 20:14, 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