Sendmail: Difference between revisions

From Chorke Wiki
Jump to navigation Jump to search
No edit summary
Line 2: Line 2:
==Knowledge==
==Knowledge==
  /usr/sbin/sendmail -t < filename.eml
  /usr/sbin/sendmail -t < filename.eml
<source lang="properties">
cat << EOF | sendmail -t
From: Sender <[email protected]>
Reply-To: Sender <[email protected]>
Disposition-Notification-To: [email protected]
Subject: Generic Subject
Generic Body
EOF
</source>


==References==
==References==

Revision as of 20:12, 30 July 2021

Knowledge

/usr/sbin/sendmail -t < filename.eml
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

References