Email Marketing

From Freephile Wiki
(Redirected from Email Marketing)

There are two related parts to email marketing: making sure that your content is in good form; and making sure that it is actually delivered which is purely technical in nature.



They are related in that all major email service providers (GMail, HotMail, Yahoo!, Comcast, Verizon, etc) scan email content on the receiving side with some heuristics to determine a 'spam' score in addition to other more 'technical' measures.

Reputation[edit | edit source]

Check at https://talosintelligence.com/

Audience[edit | edit source]

http://emailclientmarketshare.com/ shows that GMail, which only accounted for 4% of market share in early 2013, accounts for 15% at the end of 2015. Know your market. Know the current devices and technologies in use to read email.

Content and Tools[edit | edit source]

You want to do an email campaign. You need to know what works and what doesn't in email these days. Email is not the web. It's worse.

A good tool to use for managing your Email Marketing, and actually your entire Customer/Constituent Relationships is CiviCRM. Marissa Porter of Arete Imagine (now Wanna Pixel) created responsive email templates for CiviCRM (The templates are included with CiviMail view single column)

Another possible tool to use is the 'Simple Mail' extension to CiviCRM. Built by Compucorp, this is supposedly a simpler interface than the standard CiviMail.

But even with these great tools, you still need help.

  1. The email standards project http://www.email-clients" page that shows which email clients actually fare well in an ACID test, and those that don't (looking at you Gmail and Hotmail)
  2. Campaign Monitor offers a number of guides, including a complete breakdown of the CSS support for every popular mobile, web and desktop email client on the planet. They also offer hundreds of free to use templates and design examples.
  3. Premailer (http://premailer.dialect.ca/) is a cool service that will allow you to test your email content before you send it. It will convert CSS styles to inline style attribues. It gives you HTML and CSS warnings (including those from the Email Standards project). It will also generate the text-only version for you. Premailer is written in Ruby, with a lot of help from Nokogiri, Hpricot and the Sinatra framework (goodbye eruby). The source is available on GitHub. As of 2014, there was discussion of making a 2.0 version, but it's 2015 now and there isn't a separate branch, so maybe the "new version" is just being incrementally built into the current.
  4. Putsmail (https://putsmail.com/) is another free option to test your email messages. It's owned by 'Litmus' (litmus.com) which is a paid service if you need more. And emailonacid.com is another paid service.

Technical[edit | edit source]

This Rackspace article covers the 3 types of DNS records you need to know about for Email delivery: http://www.rackaid.com/blog/email-dns-records/

Aside from domain SPF records, one option you have for sending is SMTP relaying your mail off to your service provider such as Google Apps. See

for how to configure your Google Apps domain for SMTP relaying. Note too that you should set the 'Comprehensive mail storage setting' [1] when using systems (like issue trackers) that deliver mail on behalf of users, via the SMTP relay and you wish copies of those messages to be stored in GMail.

If you are going to send larger volumes of email that surpass the limits of your Google Apps account, you will want to use the services of SendGrid, Dyn, MailChimp (Mandrill[2]) etc. SendGrid actually has a free service tier for < 17,000 messages per month. These services can not only handle the deliverability aspect, but also handle bounces on transactional email messages too.

Postmaster[edit | edit source]

Comcast and others have their 'Postmaster' websites with tools and info for help

  1. http://postmaster.comcast.net/index.html Comcast
  2. https://postmaster.aol.com/ AOL
  3. https://mail.live.com/mail/services.aspx Microsoft / Outlook.com

Unfortunately, your hosting provider may be crippling your email service without even advertising the fact. https://warrenguy.me/blog/ipv6-digital-ocean-crippled

Email Handling within specific Apps[edit | edit source]

Many apps not only rely on email, but the built-in mail system is often insufficient for real-world needs. So, you must look to extensions, plugins, or otherwise configure the system to talk to an actual SMTP server.

MediaWiki[edit | edit source]

Usually, people install MediaWiki in internal environments where PHP's internal 'mail()' might actually work. But if you've got something public facing, you're going to need something beefier. You should use mw:Manual:$wgSMTP, or, you could potentially use one of the mw:Category:AlternateUserMailer_extensions like

  1. mw:Extension:SwiftMailer
  2. mw:Extension:Mailgun
  3. mw:Extension:SendGrid (integrates SendGrid)

The actual implementation is a straightforward hook implementation

CiviCRM[edit | edit source]

The documentation for CiviCRM has a fairly comprehensive guide to setting up your email. http://book.civicrm.org/user/current/advanced-configuration/email-system-configuration/, but it can be daunting and complicated even for someone experienced with mail delivery (e.g. Setting up the Return Channel depends on your choice of provider, and will degrade your spam reputation if not done properly).

CiviSMTP is a provider that caters exclusively to CiviCRM so it's a good choice for Civi installations. Other service providers are listed and compared here

Drupal[edit | edit source]

Has integrations for

  1. mailjet maintained by Commerce Guys, experts in Drupal and leaders in Drupal Commerce

Email Services[edit | edit source]

Many organizations turn to service providers like MailChimp for online email marketing. However MailChimp just took away free developer accounts. If you're going to have to pay, then you should probably consider multiple vendors to find the one that fits the bill. WikiPedia has a list on the "Email marketing software" category, although there may certainly be some reasonably large vendors who are not even listed there such as "MailTrap". Speaking of MailTrap, there are services that are designed for testing and/or intercepting email in your development and quality assurance environments such as MailHog. For a while, MailHog was unmaintained (and the last release at the time of this writing was August 2020 with a pull-request merged in August 2022), so there is an "issue" that is a curated list of maintained projects https://github.com/mailhog/MailHog/issues/392 Here's a short list that we've used or had experience with:

  1. Google App Engine
  2. Mailgun has a Managed service for higher end needs. MailGun
  3. MailJet has lots of integrations
  4. SendGrid
  5. Elastic Email has good walkthrough of setting up SPF and DKIM

Be sure to check their network status pages to get an idea of how well they are serving their customers.

  1. http://status.mandrillapp.com/
  2. http://status.sendgrid.com/history
  1. https://support.google.com/a/answer/3547347
  2. They cut off their free developer accounts giving users 60 days to test and implement a new solution or pay for a MailChimp account