{"id":752,"date":"2010-10-23T05:35:03","date_gmt":"2010-10-23T09:35:03","guid":{"rendered":"http:\/\/www.digitalaccesspass.com\/doc\/?p=752"},"modified":"2014-03-01T22:35:33","modified_gmt":"2014-03-02T06:35:33","slug":"sending-html-email","status":"publish","type":"post","link":"http:\/\/digitalaccesspass.com\/doc\/sending-html-email\/","title":{"rendered":"Sending HTML Email"},"content":{"rendered":"<p>DAP allows you to send out HTML content in all of the following:<\/p>\n<ol>\n<li>Double-optin email body<\/li>\n<li>Thank-you email body<\/li>\n<li>Autoresponder email body, and<\/li>\n<li>Broadcast email body<\/li>\n<\/ol>\n<p>DAP can send out &#8220;Multi-part&#8221; emails &#8211; that is, emails that have both a &#8220;text&#8221; portion, and an &#8220;HTML&#8221; portion. If there are any email clients out there that cannot handle HTML email (in the year 2010, there are really no such clients, really), then the &#8220;text&#8221; portion of the same email will be shown to the recipient.<\/p>\n<p>To send out HTML emails, it is very important that you insert the HTML Email Start Tag &#8211; <strong>[HTML_START]<\/strong> &#8211; into the body of your email before you insert any HTML tags.<\/p>\n<p><a href=\"http:\/\/www.digitalaccesspass.com\/doc\/wp-content\/uploads\/2010\/10\/dap_htmlstarttag.png\"><img loading=\"lazy\" class=\"alignnone size-full wp-image-753\" style=\"border: 1px solid black;\" title=\"dap_htmlstarttag\" src=\"http:\/\/www.digitalaccesspass.com\/doc\/wp-content\/uploads\/2010\/10\/dap_htmlstarttag.png\" alt=\"\" width=\"685\" height=\"447\" srcset=\"http:\/\/digitalaccesspass.com\/doc\/wp-content\/uploads\/2010\/10\/dap_htmlstarttag.png 685w, http:\/\/digitalaccesspass.com\/doc\/wp-content\/uploads\/2010\/10\/dap_htmlstarttag-300x195.png 300w\" sizes=\"(max-width: 685px) 100vw, 685px\" \/><\/a><\/p>\n<p>The same goes for any email that you want to send out in HTML format: Just before you insert your HTML code, just be sure to insert the HTML Email Start Tag <strong>[HTML_START]<\/strong>.<\/p>\n<p>And the HTML you insert should be full-blown HTML, starting with the &lt;html&gt;&lt;body&gt;&#8230;. and ending with &lt;\/html&gt;&lt;\/body&gt; tags.<\/p>\n<p><strong>NOTE<\/strong>: DAP does not have a built-in editor to create the HTML yet. So you will have to create the HTML code outside of DAP &#8211; either using a HTML editor like Dreamweaver, or you could even compose a draft page in WordPress, and use that as the source of your HTML code that you would then use within DAP to send out HTML email.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>DAP allows you to send out HTML content in all of the following: Double-optin email body Thank-you email body Autoresponder email body, and Broadcast email body DAP can send out &#8220;Multi-part&#8221; emails &#8211; that is, emails that have both a &#8220;text&#8221; portion, and an &#8220;HTML&#8221; portion. If there are any email clients out there that [&hellip;]<\/p>\n","protected":false},"author":4,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[78,11,10,77],"tags":[],"_links":{"self":[{"href":"http:\/\/digitalaccesspass.com\/doc\/wp-json\/wp\/v2\/posts\/752"}],"collection":[{"href":"http:\/\/digitalaccesspass.com\/doc\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/digitalaccesspass.com\/doc\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/digitalaccesspass.com\/doc\/wp-json\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"http:\/\/digitalaccesspass.com\/doc\/wp-json\/wp\/v2\/comments?post=752"}],"version-history":[{"count":9,"href":"http:\/\/digitalaccesspass.com\/doc\/wp-json\/wp\/v2\/posts\/752\/revisions"}],"predecessor-version":[{"id":4288,"href":"http:\/\/digitalaccesspass.com\/doc\/wp-json\/wp\/v2\/posts\/752\/revisions\/4288"}],"wp:attachment":[{"href":"http:\/\/digitalaccesspass.com\/doc\/wp-json\/wp\/v2\/media?parent=752"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/digitalaccesspass.com\/doc\/wp-json\/wp\/v2\/categories?post=752"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/digitalaccesspass.com\/doc\/wp-json\/wp\/v2\/tags?post=752"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}