Difference between revisions of "Simple Mail Transfer Protocol"
Jump to navigation
Jump to search
(mxtoolbox) |
(example session) |
||
| Line 3: | Line 3: | ||
==Pages== | ==Pages== | ||
* [[/blocking]] | * [[/blocking]] | ||
| + | ==Notes== | ||
| + | Example session (Wikipedia also has one): | ||
| + | <pre> | ||
| + | root@cloud1:~# telnet localhost 25 | ||
| + | Trying 127.0.0.1... | ||
| + | Connected to localhost. | ||
| + | Escape character is '^]'. | ||
| + | 220 cloud1.vbz.ovh ESMTP Postfix (Ubuntu) | ||
| + | HELO florence | ||
| + | 250 cloud1.vbz.ovh | ||
| + | rcpt to:<test@hypertwins.org> | ||
| + | 503 5.5.1 Error: need MAIL command | ||
| + | MAIL FROM:<test@oslt.ovh> | ||
| + | 250 2.1.0 Ok | ||
| + | RCPT TO:<test@hypertwins.org> | ||
| + | 250 2.1.5 Ok | ||
| + | DATA | ||
| + | 354 End data with <CR><LF>.<CR><LF> | ||
| + | This is a test message. | ||
| + | |||
| + | |||
| + | . | ||
| + | 250 2.0.0 Ok: queued as 48DD8BED39 | ||
| + | quit | ||
| + | 221 2.0.0 Bye | ||
| + | Connection closed by foreign host. | ||
| + | root@cloud1:~# | ||
| + | </pre> | ||
==Links== | ==Links== | ||
===Reference=== | ===Reference=== | ||
Revision as of 21:40, 17 April 2019
About
Simple Mail Transfer Protocol (SMTP) is the protocol almost universally used for handling outgoing email.
|
This page is a seed article. You can help HTYP water it: make a request to expand a given page and/or donate to help give us more writing-hours!
|
Pages
Notes
Example session (Wikipedia also has one):
root@cloud1:~# telnet localhost 25 Trying 127.0.0.1... Connected to localhost. Escape character is '^]'. 220 cloud1.vbz.ovh ESMTP Postfix (Ubuntu) HELO florence 250 cloud1.vbz.ovh rcpt to:<test@hypertwins.org> 503 5.5.1 Error: need MAIL command MAIL FROM:<test@oslt.ovh> 250 2.1.0 Ok RCPT TO:<test@hypertwins.org> 250 2.1.5 Ok DATA 354 End data with <CR><LF>.<CR><LF> This is a test message. . 250 2.0.0 Ok: queued as 48DD8BED39 quit 221 2.0.0 Bye Connection closed by foreign host. root@cloud1:~#