Skip to content

Instantly share code, notes, and snippets.

@javierwilson
Created March 13, 2012 19:51
Show Gist options
  • Save javierwilson/2031147 to your computer and use it in GitHub Desktop.
Save javierwilson/2031147 to your computer and use it in GitHub Desktop.
enviando correo vía telnet
$ telnet localhost 25
<< 220 mailserver.example.org ESMTP Sendmail; Tue, 13 Mar 2012 13:52:06 -0600
>> HELO my.example.com
<< 250 mailserver.example.org Hello localhost [127.0.0.1], pleased to meet you
>> MAIL FROM:[email protected]
<< 250 2.1.0 [email protected]... Sender ok
>> RCPT TO:[email protected]
<< 250 2.1.5 [email protected]... Recipient ok
>> DATA
<< 354 Enter mail, end with "." on a line by itself
>> hi there!
>> .
<< 250 2.0.0 q2DJq6Ok027042 Message accepted for delivery
>> QUIT
<< 221 2.0.0 mailserver.example.org closing connection
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment