Difference between revisions of "Simple Mail Transfer Protocol"
Jump to navigation
Jump to search
(Created page with "= smtp = == Send mail using telnet == <code>telnet localhost 25</code> Connect to the server</br> <code>HELO 6bit.ch</code> Greet the server.</br> <code>MAIL FROM: [email protected]</code> Set the FROM field</br> <code>RCPT TO: [email protected]</code> Set the TO field</br> <code>DATA</code> Enter message, starting with 'Subject:', followed by message body and ending with '.'") |
|||
| Line 6: | Line 6: | ||
<code>MAIL FROM: [email protected]</code> Set the FROM field</br> | <code>MAIL FROM: [email protected]</code> Set the FROM field</br> | ||
<code>RCPT TO: [email protected]</code> Set the TO field</br> | <code>RCPT TO: [email protected]</code> Set the TO field</br> | ||
<code>DATA</code> Enter message, starting with 'Subject:', followed by message body and ending with '.' | <code>DATA</code> Enter message, starting with 'From: [email protected]' 'To: [email protected]' 'Subject: zzz', followed by message body and ending with '.' | ||
Revision as of 12:22, 20 November 2024
smtp
Send mail using telnet
telnet localhost 25 Connect to the server
HELO 6bit.ch Greet the server.
MAIL FROM: [email protected] Set the FROM field
RCPT TO: [email protected] Set the TO field
DATA Enter message, starting with 'From: [email protected]' 'To: [email protected]' 'Subject: zzz', followed by message body and ending with '.'