Simple Mail Transfer Protocol

from HTYP, the free directory anyone can edit if they can prove to me that they're not a spambot
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

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:~# 

Links

Reference

Testing Tools