]> git.ipfire.org Git - thirdparty/foundation/foundation-emails.git/commitdiff
Add sending section to the docs to talk about ESPs
authorEric Morris <eric@zurb.com>
Fri, 3 Jan 2014 21:51:08 +0000 (13:51 -0800)
committerEric Morris <eric@zurb.com>
Fri, 3 Jan 2014 21:51:08 +0000 (13:51 -0800)
docs/components/getting-started.php

index bf9b0a4dd0bdfa4360f84734369d27a83eea7e73..69da60ef560bef199350729602685a87f587784a 100644 (file)
@@ -3,7 +3,7 @@
 <hr>
 <h2 class="light">The Boilerplate</h2>
 <p>
-  Starting a new Ink project is fairly straightforward. If you aren't using one of our <a href="templates.php">templates</a>, grab the boilerplate code from below to use as a starting point. While you can reference <code>ink.css</code> using a <kbd>&lt;link&gt;</kbd> tag for testing purposes, be sure to remove the <kbd>&lt;link rel="stylesheet" href="ink.css" /&gt;</kbd> statement and paste your CSS into the <kbd>&lt;style&gt;</kbd> tag in the head before running your email through an inliner.
+  Starting a new Ink project is fairly straightforward. If you aren&#8217;t using one of our <a href="templates.php">templates</a>, grab the boilerplate code from below to use as a starting point. While you can reference <code>ink.css</code> using a <kbd>&lt;link&gt;</kbd> tag for testing purposes, be sure to remove the <kbd>&lt;link rel="stylesheet" href="ink.css" /&gt;</kbd> statement and paste your CSS into the <kbd>&lt;style&gt;</kbd> tag in the head before running your email through an inliner.
 </p>
 <h6>Boilerplate.html</h6>
 <?php code_example(
@@ -43,7 +43,7 @@
 , 'html'); ?>
 <br>
 <p>
-  If you're applying a background color to your entire email, be sure to attach it to the table with a class of <code>body</code> as well as to the actual <kbd>&lt;body&gt;</kbd> tag, since some clients remove this by default.
+  If you&#8217;re applying a background color to your entire email, be sure to attach it to the table with a class of <code>body</code> as well as to the actual <kbd>&lt;body&gt;</kbd> tag, since some clients remove this by default.
 </p>
 <h6>Inline Styles</h6>
 <?php code_example(
@@ -52,7 +52,7 @@
 ...
     
 <body style="background:#ddd">
-    <table class="body" style="background:#ddd"> <!-- Background goes here too -->
+  <table class="body" style="background:#ddd"> <!-- Background goes here too -->
         
     ...
         
@@ -66,4 +66,8 @@
   background: #ddd;
 }'
 , 'css'); ?>
-<br>
\ No newline at end of file
+<br>
+<hr>
+<h2 class="light">Sending Your Email</h2>
+<p>Sending HTML email is a lot different than sending plain text email. While it may be tempting to just open the email in a browser and click &#8220;share&#8221; or to use the &#8220;Insert HTML&#8221; function of your favorite email client, this often strips off a lot of the styling and makes your email completely unusable on mobile devices.</p>
+<p>To get the best results, we recommend that you send your HTML email using an <a href="http://en.wikipedia.org/wiki/Email_service_provider_(marketing)">Email Service Provider (ESP)</a> such as <a href="http://mailchimp.com">Mailchimp</a> or <a href="http://campaignmonitor.com">Campaign Monitor</a>. If you&#8217;re just running a quick test and don't want to sign up for an ESP, sending from the command line using a scripting language like <a href="http://php.net/manual/en/function.mail.php">PHP</a> or <a href="http://ruby-doc.org/stdlib-2.0/libdoc/net/smtp/rdoc/Net/SMTP.html">Ruby</a> usually works fine.</p>
\ No newline at end of file