{"id":4448,"date":"2022-05-20T12:00:00","date_gmt":"2022-05-20T17:00:00","guid":{"rendered":"https:\/\/www.incredigeek.com\/home\/?p=4448"},"modified":"2022-05-20T11:32:10","modified_gmt":"2022-05-20T16:32:10","slug":"how-to-send-an-email-using-telnet","status":"publish","type":"post","link":"https:\/\/www.incredigeek.com\/home\/how-to-send-an-email-using-telnet\/","title":{"rendered":"How to Send an Email using Telnet"},"content":{"rendered":"\n<p>We&#8217;ll be using telnet to connect to a mail server and send ourselves an email.<\/p>\n\n\n\n<p><\/p>\n\n\n\n<p>The parts in bold are the commands to enter.<br><\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">[bob@linux ~]$ <strong>telnet mail.website.com 25<\/strong>\nTrying mail.website.com...\nConnected to mail.website.com.\nEscape character is '^]'.\n220-mail.website.com ESMTP Exim 4.85 #2 Mon, 09 May 2022 22:12:59 \n220-We do not authorize the use of this system to transport unsolicited, \n220 and\/or bulk e-mail.\n<strong>HELO domainto.sendfrom.com<\/strong>\n250 mail.website.com Hello domainto.sendfrom.com [192.168.1.2]\n<strong>MAIL FROM: &lt;bob@incredigeek.com&gt;<\/strong>\n250 OK\n<strong>RCPT TO: &lt;bob@incredigeek.com&gt;<\/strong>\n250 Accepted\n<strong>DATA<\/strong>\n354 Enter message, ending with \".\" on a line by itself\n<strong>Subject: Test Message<\/strong>\n\n<strong>This is a test<\/strong>\n\n<strong>.<\/strong>\n250 OK id=5a1g7i-1347MT-1p\n<strong>QUIT<\/strong>\n221 mail.website.com closing connection\nConnection closed by foreign host.<\/pre>\n\n\n\n<p>Further links to read<\/p>\n\n\n\n<p><a href=\"https:\/\/github.com\/maildev\/maildev\/issues\/212\">https:\/\/github.com\/maildev\/maildev\/issues\/212<\/a><\/p>\n\n\n\n<figure class=\"wp-block-embed is-type-wp-embed is-provider-infusion-technology-solutions-blog wp-block-embed-infusion-technology-solutions-blog\"><div class=\"wp-block-embed__wrapper\">\n<blockquote class=\"wp-embedded-content\" data-secret=\"66WIYZGLKz\"><a href=\"https:\/\/blog.infusiontechsolutions.com\/how-to-manually-send-email-using-telnet-to-check-for-open-relays\/\">How To Manually Send Email Using Telnet to Check for Open Relays<\/a><\/blockquote><iframe loading=\"lazy\" class=\"wp-embedded-content\" sandbox=\"allow-scripts\" security=\"restricted\" style=\"position: absolute; clip: rect(1px, 1px, 1px, 1px);\" title=\"&#8220;How To Manually Send Email Using Telnet to Check for Open Relays&#8221; &#8212; Infusion Technology Solutions Blog\" src=\"https:\/\/blog.infusiontechsolutions.com\/how-to-manually-send-email-using-telnet-to-check-for-open-relays\/embed\/#?secret=9gcqG0lDDa#?secret=66WIYZGLKz\" data-secret=\"66WIYZGLKz\" width=\"584\" height=\"329\" frameborder=\"0\" marginwidth=\"0\" marginheight=\"0\" scrolling=\"no\"><\/iframe>\n<\/div><\/figure>\n","protected":false},"excerpt":{"rendered":"<p>We&#8217;ll be using telnet to connect to a mail server and send ourselves an email. The parts in bold are the commands to enter. [bob@linux ~]$ telnet mail.website.com 25 Trying mail.website.com&#8230; Connected to mail.website.com. Escape character is &#8216;^]&#8217;. 220-mail.website.com ESMTP &hellip; <a href=\"https:\/\/www.incredigeek.com\/home\/how-to-send-an-email-using-telnet\/\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[667],"tags":[223,224,1296],"class_list":["post-4448","post","type-post","status-publish","format-standard","hentry","category-email","tag-email","tag-mail","tag-telnet"],"_links":{"self":[{"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/posts\/4448","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/comments?post=4448"}],"version-history":[{"count":2,"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/posts\/4448\/revisions"}],"predecessor-version":[{"id":4451,"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/posts\/4448\/revisions\/4451"}],"wp:attachment":[{"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/media?parent=4448"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/categories?post=4448"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/tags?post=4448"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}