EmailViaNCorTelnet

From DrewWiki
Revision as of 18:06, 24 December 2017 by Drew (talk | contribs) (Created page with "Can always type quit instead of DATA if just checking possible to email <syntaxhighlight lang="bash"> $ nc localhost 25 220 invadelabscom ESMTP Postfix (Debian/GNU) HELO some...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Can always type quit instead of DATA if just checking possible to email

$ nc localhost 25
220 invadelabscom ESMTP Postfix (Debian/GNU)
HELO somedomain.com
250 somedomain.com
mail from:<[email protected]>
250 2.1.0 Ok
rcpt to:<[email protected]>
250 2.1.5 Ok
DATA
354 End data with <CR><LF>.<CR><LF>
From: [Drew Invade] <[email protected]>
To: [Drew Email Address] <[email protected]>
Date: Fri, 22 Dec 2017 21:14:26 -0700
Subject: Sending from the command line!

Hi!
this is a test message using net cat lol. hope it works

.
250 2.0.0 Ok: queued as 03D8C82052

quit
221 2.0.0 Bye