section id="smtp" condition="author"
$
telnet <IP> 25
EHLO
MAIL FROM: <from-email>
RCPT TO: <recipient-email>
DATA
Type message here.
. <Enter>
$
telnet mail.firma.cz 25 Trying 10.16.66.18... Connected to sunrise. Escape character is '^]'. 220 sunrise.firma.cz ESMTP Postfix HELO sunrise.firma.cz 250 sunrise.firma.cz MAIL FROM:<root@firma.cz> 250 Ok RCPT TO:<nospam@hnilica.cz> 250 Ok DATA 354 End data with <CR><LF>.<CR><LF>Subject: Halo testuji test -- Radek .
250 Ok: queued as 092F8EC8D quit 221 Bye Connection closed by foreign host.$
Tabulka 33.1. Kódy odpovědí SMTP
2xx | Příkaz byl úspěšně vykonán. |
3xx | Příkaz byl přijat, server očekává další informace. |
4xx | Nastala chyba. Dočasná chyba. |
5xx | Nastala chaba. Příkaz byl neúspěšný. Trvalá chyba. |