Warning: Declaration of Jetpack_IXR_Client::query() should be compatible with IXR_Client::query(...$args) in /home/simoni/blog.dadamailproject.com/wp-content/plugins/jetpack/class.jetpack-ixr-client.php on line 91

Warning: Cannot modify header information - headers already sent by (output started at /home/simoni/blog.dadamailproject.com/wp-content/plugins/jetpack/class.jetpack-ixr-client.php:91) in /home/simoni/blog.dadamailproject.com/wp-includes/rest-api/class-wp-rest-server.php on line 1378

Warning: Cannot modify header information - headers already sent by (output started at /home/simoni/blog.dadamailproject.com/wp-content/plugins/jetpack/class.jetpack-ixr-client.php:91) in /home/simoni/blog.dadamailproject.com/wp-includes/rest-api/class-wp-rest-server.php on line 1378

Warning: Cannot modify header information - headers already sent by (output started at /home/simoni/blog.dadamailproject.com/wp-content/plugins/jetpack/class.jetpack-ixr-client.php:91) in /home/simoni/blog.dadamailproject.com/wp-includes/rest-api/class-wp-rest-server.php on line 1378

Warning: Cannot modify header information - headers already sent by (output started at /home/simoni/blog.dadamailproject.com/wp-content/plugins/jetpack/class.jetpack-ixr-client.php:91) in /home/simoni/blog.dadamailproject.com/wp-includes/rest-api/class-wp-rest-server.php on line 1378

Warning: Cannot modify header information - headers already sent by (output started at /home/simoni/blog.dadamailproject.com/wp-content/plugins/jetpack/class.jetpack-ixr-client.php:91) in /home/simoni/blog.dadamailproject.com/wp-includes/rest-api/class-wp-rest-server.php on line 1378

Warning: Cannot modify header information - headers already sent by (output started at /home/simoni/blog.dadamailproject.com/wp-content/plugins/jetpack/class.jetpack-ixr-client.php:91) in /home/simoni/blog.dadamailproject.com/wp-includes/rest-api/class-wp-rest-server.php on line 1378

Warning: Cannot modify header information - headers already sent by (output started at /home/simoni/blog.dadamailproject.com/wp-content/plugins/jetpack/class.jetpack-ixr-client.php:91) in /home/simoni/blog.dadamailproject.com/wp-includes/rest-api/class-wp-rest-server.php on line 1378

Warning: Cannot modify header information - headers already sent by (output started at /home/simoni/blog.dadamailproject.com/wp-content/plugins/jetpack/class.jetpack-ixr-client.php:91) in /home/simoni/blog.dadamailproject.com/wp-includes/rest-api/class-wp-rest-server.php on line 1378
{"id":255,"date":"2018-10-08T23:23:00","date_gmt":"2018-10-08T23:23:00","guid":{"rendered":"https:\/\/blog.dadamailproject.com\/?p=255"},"modified":"2019-05-09T17:10:34","modified_gmt":"2019-05-09T17:10:34","slug":"use-third-party-email-template-layouts-in-dada-mail","status":"publish","type":"post","link":"https:\/\/blog.dadamailproject.com\/2018\/10\/08\/use-third-party-email-template-layouts-in-dada-mail\/","title":{"rendered":"Use Third Party Email Template\/Layouts in Dada Mail"},"content":{"rendered":"
\n

Can you use a third party email layout with Dada Mail? Absolutely!<\/strong> So long as you have HTML for Dada Mail to send, it’ll send it!<\/p>\n\n\n\n

In this walk through, I’ll be using a template created by stripo.email<\/a> (no affiliation). Stripo allows you to export the HTML for your email message – look for the, Export<\/strong> button,<\/p>\n\n\n\n

<\/a><\/figure><\/div>\n\n\n\n

then choose, HTML<\/strong><\/p>\n\n\n\n

<\/a><\/figure><\/div>\n\n\n\n

Once you have the HTML, you’ll want to open it up in a Text Editor, and replace the unsubscribe link<\/strong>, with what Dada Mail uses. Here’s the template tag that Dada Mail uses as a placeholder for its unsubscribe link:<\/p>\n\n\n\n

<!-- tmpl_var list_unsubscribe_link --><\/pre>\n\n\n\n

In my template, I found the link for, “Unsubscribe” and placed this tag in the, href=\"\"<\/code> parameter.<\/p>\n\n\n\n

<\/a><\/figure><\/div>\n\n\n\n

Log into your list control panel, and create a new draft message.<\/p>\n\n\n\n

Under the, HTML Version<\/strong> tab, paste the source of your message into the source of the Rich Text Editor – (click the, Source button to reveal the source!<\/em>)<\/p>\n\n\n\n

<\/a><\/figure><\/div>\n\n\n\n

Since this email message is fully-formed, it doesn’t need a layout of its own. Click the, Layout<\/strong> tab and select: Don’t Use a Layout<\/strong><\/p>\n\n\n\n

<\/a><\/figure><\/div>\n\n\n\n

Almost done! Preview the message by clicking the, Preview<\/strong> button and make sure everything looks good, before sending things out:<\/p>\n\n\n\n

<\/a><\/figure><\/div>\n\n\n\n

Looks good! One thing to double-check is if the, Unsubscribe<\/strong> link is properly set. You’ll know this if the Unsubscribe link shows this when hovered over (don’t click it!)<\/p>\n\n\n\n

http:\/\/your-domain.com\/dada\/mail.cgi\/t\/CONFIRMATION_TOKEN<\/strong>\/<\/pre>\n\n\n\n

Dada Mail will add its own unsubscribe link + text, if it can’t find one in your message. So, if one is added by Dada Mail, it may be because the one you tried to add didn’t work correctly.<\/p>\n\n\n\n

And that’s all there is to it!<\/p>\n\n\n\n

<\/a><\/figure><\/div>\n\n\n\n

Some tips:<\/p>\n\n\n\n

Make sure css is already inlined<\/strong>. Dada Mail won’t do this for you, when you pick, “Don’t use a layout” in the Layout Options. There’s online inliners to help you (example<\/a>). Just paste the HTML you’re using in these tools, inline it, copy the results, then paste those results into Dada Mail.<\/p>\n\n\n\n

If you’re going to use an outside template\/layout often, consider disabling the rich text\/WYSIWYG editor. This will speed up pasting in the message itself. In the list control panel, go to: Control Panel Settings: Options. Under:  WYSIWYG Editor Options<\/strong>, Select: Don’t use a WYSIWYG Editor<\/strong>.<\/p>\n\n\n\n

<\/a><\/figure><\/div>\n<\/div>","protected":false},"excerpt":{"rendered":"

Can you use a third party email layout with Dada Mail? Absolutely! So long as you have HTML for Dada Mail to send, it’ll send it! In this walk through, I’ll be using a template created by stripo.email (no affiliation). Stripo allows you to export the HTML for your email message – look for the, […]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"spay_email":""},"categories":[1],"tags":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/paVOyw-47","_links":{"self":[{"href":"https:\/\/blog.dadamailproject.com\/wp-json\/wp\/v2\/posts\/255"}],"collection":[{"href":"https:\/\/blog.dadamailproject.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.dadamailproject.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.dadamailproject.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.dadamailproject.com\/wp-json\/wp\/v2\/comments?post=255"}],"version-history":[{"count":3,"href":"https:\/\/blog.dadamailproject.com\/wp-json\/wp\/v2\/posts\/255\/revisions"}],"predecessor-version":[{"id":287,"href":"https:\/\/blog.dadamailproject.com\/wp-json\/wp\/v2\/posts\/255\/revisions\/287"}],"wp:attachment":[{"href":"https:\/\/blog.dadamailproject.com\/wp-json\/wp\/v2\/media?parent=255"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.dadamailproject.com\/wp-json\/wp\/v2\/categories?post=255"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.dadamailproject.com\/wp-json\/wp\/v2\/tags?post=255"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}