Mail: Difference between revisions
Jump to navigation
Jump to search
| Line 1: | Line 1: | ||
==Sending mail with sendmail== | ==Sending mail with sendmail== | ||
;<code>sendmail -t < <messagefile></code> | ;<code>sendmail -t < <messagefile></code> | ||
:Send the email as in < | :Send the email as in <messagefile> | ||
The email headers are in <messagefile>. That should look like: | The email headers are in <messagefile>. That should look like: | ||
<syntaxhighlight lang=text> | <syntaxhighlight lang=text> | ||
Revision as of 18:49, 25 August 2018
Sending mail with sendmail
sendmail -t < <messagefile>- Send the email as in <messagefile>
The email headers are in <messagefile>. That should look like:
From: me@mydomain.tld
To: user@domain.tld
Subject: Subject of your mail
email text