Linux/Mailserver/Testing: Difference between revisions
< Linux | Mailserver
No edit summary |
No edit summary |
||
Line 8: | Line 8: | ||
<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> |
Revision as of 18:00, 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