EmailViaNCorTelnet: Difference between revisions

From DrewWiki
Jump to navigation Jump to search
(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...")
 
m (netcat name)
 
Line 18: Line 18:


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


.
.

Latest revision as of 10:40, 1 November 2020

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 netcat lol. hope it works

.
250 2.0.0 Ok: queued as 03D8C82052

quit
221 2.0.0 Bye