{"id":4088,"date":"2024-04-04T16:03:17","date_gmt":"2024-04-04T16:03:17","guid":{"rendered":"https:\/\/geekmungus.co.uk\/?p=4088"},"modified":"2024-04-04T16:04:01","modified_gmt":"2024-04-04T16:04:01","slug":"telnet-smtp-with-headers","status":"publish","type":"post","link":"https:\/\/geekmungus.co.uk\/?p=4088","title":{"rendered":"Telnet SMTP with Headers"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">Although I&#8217;ve covered this before if you want to add some headers into a test email, this can be done by just adding the required header into the &#8220;DATA&#8221; section. In the example below I&#8217;m adding in a header called &#8220;List-Id&#8221;. You would telnet into your mail server then type in the following:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>HELO domain.com\r\nMAIL FROM:bob@domain.com\r\nRCPT TO:bill@turnip.co.uk\r\nDATA\r\nList-Id:Myreallynicelist\r\nTo: Bill Smith &lt;bill@turnip.com>\r\nFrom: Bob Job &lt;bob@domain.com>\r\nSubject: I Like Lists = No Disclaimer\r\n\r\nHello,\r\n\r\nMy Message Contents\r\n\r\nThanks\r\n\r\nBob\n\r\n.\r\nQUIT<\/code><\/pre>\n","protected":false},"excerpt":{"rendered":"<p>Although I&#8217;ve covered this before if you want to add some headers into a test email, this can be done by just adding the required header into the &#8220;DATA&#8221; section. In the example below I&#8217;m adding in a header called &#8220;List-Id&#8221;. You would telnet into your mail server then type in the following:<\/p>\n","protected":false},"author":4,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[20],"tags":[],"class_list":["post-4088","post","type-post","status-publish","format-standard","hentry","category-random"],"_links":{"self":[{"href":"https:\/\/geekmungus.co.uk\/index.php?rest_route=\/wp\/v2\/posts\/4088","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/geekmungus.co.uk\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/geekmungus.co.uk\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/geekmungus.co.uk\/index.php?rest_route=\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/geekmungus.co.uk\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=4088"}],"version-history":[{"count":3,"href":"https:\/\/geekmungus.co.uk\/index.php?rest_route=\/wp\/v2\/posts\/4088\/revisions"}],"predecessor-version":[{"id":4091,"href":"https:\/\/geekmungus.co.uk\/index.php?rest_route=\/wp\/v2\/posts\/4088\/revisions\/4091"}],"wp:attachment":[{"href":"https:\/\/geekmungus.co.uk\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=4088"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/geekmungus.co.uk\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=4088"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/geekmungus.co.uk\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=4088"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}