Probando el SMTP mediante telnet

Siguiendo, como ejemplo, el siguiente link: Use Telnet to test SMTP communication on Exchange servers:

Me conecto a mi relay local:

telnet smtp_server.domain.com 25

Trying xx.xx.xx.xx…
Connected to smtp_server.domain.com
Escape character is ‘^]’.
220 mailhost.rceit.com ESMTP

Me conecto al servidor que enviará el correo:

EHLO gmail.com
250-mailhost.rceit.com
250-8BITMIME
250 SIZE 104857600

Indico el Sender:

MAIL FROM:<none@gmail.com>
250 sender <none@gmail.com> ok

Indico el receptor:

RCPT TO:<none@outlook.com> NOTIFY=success,failure,
250 recipient <none@outlook.com> ok

Escribo un mensaje (Empiza por DATA y finaliza con un . (punto)):

DATA
354 go ahead
Test Telnet
.
250 ok: Message 7962683 accepted

Salgo de la sesión

QUIT
221 mailhost.rceit.com
Connection closed by foreign host.

Con esto habrá llegado el mensaje al recipiente destino.

Enjoy!!!

 

 

 

 

 

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: