Difference between revisions of "Mail"

From wiki
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 <messeagefile>
+
: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 20: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