{"id":3251,"date":"2017-02-07T15:17:47","date_gmt":"2017-02-07T20:17:47","guid":{"rendered":"https:\/\/knowlegebase-b5heb6b2esbghgd4.eastus2-01.azurewebsites.net\/?post_type=ht_kb&#038;p=3251"},"modified":"2019-03-05T16:05:58","modified_gmt":"2019-03-05T21:05:58","slug":"what-does-a-sample-mime-message-look-like","status":"publish","type":"ht_kb","link":"https:\/\/knowlegebase-b5heb6b2esbghgd4.eastus2-01.azurewebsites.net\/?ht_kb=what-does-a-sample-mime-message-look-like","title":{"rendered":"What does a sample MIME message look like?"},"content":{"rendered":"<span class=\"span-reading-time rt-reading-time\"><span class=\"rt-label rt-prefix\">Est. reading time:<\/span> <span class=\"rt-time\"> &lt; 1<\/span> <span class=\"rt-label rt-postfix\">minute<\/span><\/span>\n<p>Here is an example of a MIME encoded message without an attachment:<\/p>\n<pre>MIME-Version: 1.0\r\n X-Mailer: MailBee.NET 8.0.4.428\r\n Subject: This is the subject of a sample message\r\n To: user@example.com\r\n Content-Type: multipart\/alternative;\r\n boundary=\"XXXXboundary text\"\r\n\r\n--XXXXboundary text\r\n Content-Type: text\/plain;\r\n charset=\"utf-8\"\r\n Content-Transfer-Encoding: quoted-printable\r\n\r\nThis is the body text of a sample message.\r\n\r\n--XXXXboundary text\r\n Content-Type: text\/html;\r\n charset=\"utf-8\"\r\n Content-Transfer-Encoding: quoted-printable\r\n\r\n&lt;pre&gt;This is the body text of a sample message.&lt;\/pre&gt;\r\n--XXXXboundary text--<\/pre>\n<p>&nbsp;<\/p>\n<p>Here is an example of a MIME encoded message with an attachment:<\/p>\n<pre>MIME-Version: 1.0\r\nX-Mailer: MailBee.NET 8.0.4.428\r\nSubject: test subject\r\nTo: kevinm@datamotion.com\r\nContent-Type: multipart\/mixed;\r\n       boundary=\"XXXXboundary text\"\r\n \r\n--XXXXboundary text\r\nContent-Type: multipart\/alternative;\r\n       boundary=\"XXXXboundary text\"\r\n \r\n--XXXXboundary text\r\nContent-Type: text\/plain;\r\n       charset=\"utf-8\"\r\nContent-Transfer-Encoding: quoted-printable\r\n \r\nThis is the body text of a sample message.\r\n--XXXXboundary text\r\nContent-Type: text\/html;\r\n       charset=\"utf-8\"\r\nContent-Transfer-Encoding: quoted-printable\r\n&lt;pre&gt;This is the body text of a sample message.&lt;\/pre&gt;\r\n\r\n--XXXXboundary text\r\nContent-Type: text\/plain;\r\nname=\"log_attachment.txt\"\r\nContent-Disposition: attachment;\r\nfilename=\"log_attachment.txt\"\r\nContent-Transfer-Encoding: base64\r\n\r\nTUlNRS1WZXJzaW9uOiAxLjANClgtTWFpbGVyOiBNYWlsQmVlLk5FVCA4LjAuNC40MjgNClN1Ympl\r\nY3Q6IHRlc3Qgc3ViamVjdA0KVG86IGtldmlubUBkYXRhbW90aW9uLmNvbQ0KQ29udGVudC1UeXBl\r\nOiBtdWx0aXBhcnQvYWx0ZXJuYXRpdmU7DQoJYm91bmRhcnk9Ii0tLS09X05leHRQYXJ0XzAwMF9B\r\nRTZCXzcyNUUwOUFGLjg4QjdGOTM0Ig0KDQoNCi0tLS0tLT1fTmV4dFBhcnRfMDAwX0FFNkJfNzI1\r\nRTA5QUYuODhCN0Y5MzQNCkNvbnRlbnQtVHlwZTogdGV4dC9wbGFpbjsNCgljaGFyc2V0PSJ1dGYt\r\nOCINCkNvbnRlbnQtVHJhbnNmZXItRW5jb2Rpbmc6IHF1b3RlZC1wcmludGFibGUNCg0KdGVzdCBi\r\nb2R5DQotLS0tLS09X05leHRQYXJ0XzAwMF9BRTZCXzcyNUUwOUFGLjg4QjdGOTM0DQpDb250ZW50\r\nLVR5cGU6IHRleHQvaHRtbDsNCgljaGFyc2V0PSJ1dGYtOCINCkNvbnRlbnQtVHJhbnNmZXItRW5j\r\nb2Rpbmc6IHF1b3RlZC1wcmludGFibGUNCg0KPHByZT50ZXN0IGJvZHk8L3ByZT4NCi0tLS0tLT1f\r\nTmV4dFBhcnRfMDAwX0FFNkJfNzI1RTA5QUYuODhCN0Y5MzQtLQ0K\r\n\r\n--XXXXboundary text--\r\nENTER YOUR CODE HERE<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>Here is an example of a MIME encoded message without an attachment: MIME-Version: 1.0 X-Mailer: MailBee.NET 8.0.4.428 Subject: This is the subject of a sample message To: user@example.com Content-Type: multipart\/alternative; boundary=&#8221;XXXXboundary text&#8221; &#8211;XXXXboundary text Content-Type: text\/plain; charset=&#8221;utf-8&#8243; Content-Transfer-Encoding: quoted-printable This is the body text of a sample message. &#8211;XXXXboundary text&#8230;<\/p>\n","protected":false},"author":1,"comment_status":"open","ping_status":"closed","template":"","format":"standard","meta":{"content-type":"","footnotes":""},"ht-kb-category":[181],"ht-kb-tag":[],"class_list":["post-3251","ht_kb","type-ht_kb","status-publish","format-standard","hentry","ht_kb_category-datamotion-apis"],"_links":{"self":[{"href":"https:\/\/knowlegebase-b5heb6b2esbghgd4.eastus2-01.azurewebsites.net\/index.php?rest_route=\/wp\/v2\/ht-kb\/3251","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/knowlegebase-b5heb6b2esbghgd4.eastus2-01.azurewebsites.net\/index.php?rest_route=\/wp\/v2\/ht-kb"}],"about":[{"href":"https:\/\/knowlegebase-b5heb6b2esbghgd4.eastus2-01.azurewebsites.net\/index.php?rest_route=\/wp\/v2\/types\/ht_kb"}],"author":[{"embeddable":true,"href":"https:\/\/knowlegebase-b5heb6b2esbghgd4.eastus2-01.azurewebsites.net\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/knowlegebase-b5heb6b2esbghgd4.eastus2-01.azurewebsites.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=3251"}],"version-history":[{"count":8,"href":"https:\/\/knowlegebase-b5heb6b2esbghgd4.eastus2-01.azurewebsites.net\/index.php?rest_route=\/wp\/v2\/ht-kb\/3251\/revisions"}],"predecessor-version":[{"id":7281,"href":"https:\/\/knowlegebase-b5heb6b2esbghgd4.eastus2-01.azurewebsites.net\/index.php?rest_route=\/wp\/v2\/ht-kb\/3251\/revisions\/7281"}],"wp:attachment":[{"href":"https:\/\/knowlegebase-b5heb6b2esbghgd4.eastus2-01.azurewebsites.net\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=3251"}],"wp:term":[{"taxonomy":"ht_kb_category","embeddable":true,"href":"https:\/\/knowlegebase-b5heb6b2esbghgd4.eastus2-01.azurewebsites.net\/index.php?rest_route=%2Fwp%2Fv2%2Fht-kb-category&post=3251"},{"taxonomy":"ht_kb_tag","embeddable":true,"href":"https:\/\/knowlegebase-b5heb6b2esbghgd4.eastus2-01.azurewebsites.net\/index.php?rest_route=%2Fwp%2Fv2%2Fht-kb-tag&post=3251"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}