{"id":8343,"date":"2018-10-03T19:59:09","date_gmt":"2018-10-03T23:59:09","guid":{"rendered":"http:\/\/nycphantom.com\/journal\/?p=8343"},"modified":"2018-10-03T20:09:49","modified_gmt":"2018-10-04T00:09:49","slug":"emailing-with-telnet","status":"publish","type":"post","link":"http:\/\/nycphantom.com\/journal\/?p=8343","title":{"rendered":"Emailing with Telnet"},"content":{"rendered":"<p>All SMTP servers basically work this way. This can be done using the freeware PuTTY.<\/p>\n<p>Telnet to server &amp; port: (bold types are user input)<\/p>\n<p><em><span style=\"color: #ff9900;\">220 BY2NAM03FT048.mail.protection.outlook.com Microsoft ESMTP MAIL Service ready at Wed, 3 Oct 2018 23:54:21 +0000<\/span><\/em><br \/>\n<strong>ehlo<\/strong><br \/>\n<em><span style=\"color: #ff9900;\">500 5.3.3 Unrecognized command '????' [BY2NAM03FT048.eop-NAM03.prod.protection.outlook.com]<\/span><\/em><br \/>\n<strong>ehlo<\/strong><br \/>\n<em><span style=\"color: #ff9900;\">250-BY2NAM03FT048.mail.protection.outlook.com Hello [69.60.23.131]<\/span><\/em><br \/>\n<em><span style=\"color: #ff9900;\">250-SIZE 157286400<\/span><\/em><br \/>\n<em><span style=\"color: #ff9900;\">250-PIPELINING<\/span><\/em><br \/>\n<em><span style=\"color: #ff9900;\">250-DSN<\/span><\/em><br \/>\n<em><span style=\"color: #ff9900;\">250-ENHANCEDSTATUSCODES<\/span><\/em><br \/>\n<em><span style=\"color: #ff9900;\">250-STARTTLS<\/span><\/em><br \/>\n<em><span style=\"color: #ff9900;\">250-8BITMIME<\/span><\/em><br \/>\n<em><span style=\"color: #ff9900;\">250-BINARYMIME<\/span><\/em><br \/>\n<em><span style=\"color: #ff9900;\">250-CHUNKING<\/span><\/em><br \/>\n<em><span style=\"color: #ff9900;\">250 SMTPUTF8<\/span><\/em><br \/>\n<strong>mail from:&lt;test@mafia.com&gt;<\/strong><br \/>\n<span style=\"color: #ff9900;\"><em><span style=\"color: #ff9900;\">250 2.1.0 Sender OK<\/span><\/em><\/span><br \/>\n<strong>rcpt to:&lt;timlyg@yahoo.com&gt;<\/strong><br \/>\n<em><span style=\"color: #ff6600;\">250 2.1.5 Recipient OK<\/span><\/em><br \/>\n<strong>data<br \/>\n<\/strong><span style=\"color: #ff9900;\"><em>354 Please start mail input.<\/em><br \/>\n<\/span><strong>subject: This is the Subject Line.<\/strong><\/p>\n<p>this is just a test<br \/>\n<strong>.<\/strong><br \/>\n<em><span style=\"color: #ff6600;\">250 Mail queued for delivery.<\/span><\/em><br \/>\n<strong>quit<\/strong><\/p>\n<p>&nbsp;<\/p>\n<p>Advanced:<\/p>\n<p>For authentication, after establishing telnet connection and entered two \"ehlo\" commands, use the command: auth login<br \/>\n334 VXNlcm5hbWU6; will prompt username input, enter <a href=\"https:\/\/www.url-encode-decode.com\/base64-encode-decode\/\" target=\"_blank\" rel=\"noopener\">base64 encoded<\/a> username, which is usually the full email address.<br \/>\n334 UGFzc3dvcmQ6; is prompted then for password, enter <a href=\"https:\/\/www.url-encode-decode.com\/base64-encode-decode\/\" target=\"_blank\" rel=\"noopener\">base64 encoded<\/a> password.<br \/>\nThe rest is the same as above.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>All SMTP servers basically work this way. This can be done using the freeware PuTTY. Telnet to server &amp; port: (bold types are user input) 220 BY2NAM03FT048.mail.protection.outlook.com Microsoft ESMTP MAIL Service ready at Wed, 3 Oct 2018 23:54:21 +0000 ehlo &hellip; <a href=\"http:\/\/nycphantom.com\/journal\/?p=8343\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3],"tags":[],"class_list":["post-8343","post","type-post","status-publish","format-standard","hentry","category-technical"],"_links":{"self":[{"href":"http:\/\/nycphantom.com\/journal\/index.php?rest_route=\/wp\/v2\/posts\/8343","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/nycphantom.com\/journal\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/nycphantom.com\/journal\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/nycphantom.com\/journal\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/nycphantom.com\/journal\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=8343"}],"version-history":[{"count":4,"href":"http:\/\/nycphantom.com\/journal\/index.php?rest_route=\/wp\/v2\/posts\/8343\/revisions"}],"predecessor-version":[{"id":8347,"href":"http:\/\/nycphantom.com\/journal\/index.php?rest_route=\/wp\/v2\/posts\/8343\/revisions\/8347"}],"wp:attachment":[{"href":"http:\/\/nycphantom.com\/journal\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=8343"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/nycphantom.com\/journal\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=8343"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/nycphantom.com\/journal\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=8343"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}