Linux/Mailserver/Testing: Difference between revisions

From Wiki
No edit summary
No edit summary
 
(One intermediate revision by the same user not shown)
Line 5: Line 5:
Subject: Test
Subject: Test
</pre>
</pre>


<pre>
<pre>
echo Emailtext | mail -s "Subject" user@domain.de
echo Emailtext | mail -s "Subject" user@domain.de
</pre>
<pre>
openssl s_client -starttls smtp -crlf -connect youripaddressoryourdomain:25
</pre>
</pre>

Latest revision as of 19:47, 31 August 2016

Sending Simple Email

mail root
<CTRL-D>
Subject: Test


echo Emailtext | mail -s "Subject" user@domain.de


openssl s_client -starttls smtp -crlf -connect youripaddressoryourdomain:25