There are numerous ways of achieving HTML email integration with ExpressionEngine but in this article I am going to focus on a method I developed for one particular client that was a little bit unusual but that worked rather well.
To DIY or not to DIY
Before deciding how to integrate HTML emails with EE you have a fundamental choice to make, do you really want to send the emails directly from your website's host server or would you be better to integrate an external service such as Campaign Monitor or MailChimp who specialise in mass mailing? These are the four main factors I think about before making a decision.
1. Can the server deal with the volumes of email I expect to be sending?
Most hosting providers impose a cap on the number of emails a user can distribute from their servers and this limit can vary greatly. This blog article provides details on some of the limits imposed by various hosting providers http://www.massmailsoftware.com/blog/2011/03/smtp-email-sending-limits-and-rates-for-hosting-providers-and-free-email-providers/ but it is best to check with the host before proceeding.
2. Can my client afford an external solution
In my opinion, services such as Campaign Monitor and MailChimp are great but expensive, especially when it comes to smaller clients with smaller mailing lists. Maybe a DIY solution is the more cost effective route.
3. Do I want to be held responsible for the distribution?
Clients tend to feel quite sensitive when it comes to the success of their HTML email campaigns and whilst fully integrating the entire process can make their life simpler it can also make your life more stressful. What happens if the email server crashes half way through the distribution? What if all the emails get spammed or bounced? At least if you are using an external company you can look in their direction but if it is based entirely on a system you setup then you know where the buck stops. That being said if the system is solidly built and well tested then it's probably still worth the hassle but maybe just think twice when it comes to those really scary clients.
4. Will a DIY solution go far enough?
Whilst most commercial Expressionengine HTML email addons provide a level of statistical data such as unique opens, clicks etc.., none of them match the depth of insight provided by the large external mailers. If your client is the sort to spend hours drawing pie charts and crunching the numbers then maybe consider using a more advanced external solution.
A DIY solution for Expressionengine 1
Recently I had a client who wanted to distrute a regular HTML email, based on a single template, to their fairly modest sized mailing list. The website was running on Expressionengine 1, the budget was extremely tight and the process needed to be super easy. Having done some digging I came up with a solution that I feel really hit the mark when it comes to both price and simplicity.
First I installed the YUI Communicate extension which places a WYSIWYG editor in Expressionengine's communicate tab. I then installed the Multiple Newsletters extension by Cocoaholic which automatically populates the communicate publish form with an appointed EE template.
Finally I created an EE template based on the design of their HTML newsletter and set up a new weblog to provide the main changeable area of text for the newsletter. Having added the tags for this new weblog to the template plus any content that I wanted to be included from other parts of their site such as news feeds and banners, my part was just about done.
The end result meant that the client could write for their newsletter as they would any other entry on the site and open up the communicate tab to find a fully rendered version of their email in the WYSIWYG editor, ready for distribution to their mailing lists. They could hit the 'View Previously Sent Emails' button to browse older emails and a web hosted version of the current email was instantly available thanks to the fact that this method utilises standard EE templates.
Other solutions
This method is great for a certain type of client running EE1 but what if your client doesn't fit this description? Here are a few alternatives:
Firemail (EE2) - $49.95 by Put your lights on
The closest thing to my DIY method for EE2 is Firemail, an addon that keeps the entire 'create and distribute' process within the bounds of EE. Templates can be imported and parsed similarly to my method and the bonus of basic statistics and a slick user interface make it well worth the money if budget allows. The same provisos regarding mail server capacity apply to this addon and it is probably best used in conjunction with a robust mail server or less demanding mailing lists. Email batch size can be set from Firemail which may help ease this issue.
Champagne (EE1 & EE2) - $35 by Natural logic
Champagne integrates your Campaign Monitor account with Expressionengine 1 or 2 . Whilst I haven't used Champagne on an Expressionengine site yet, Campaign Monitor is probably my favourite email distribution service and the integration this module provides looks very polished. The module displays basic statistics on each campaign and whilst it does not provide the full breadth of options that are available from the Campaign Monitor control panel, it is probably a more manageable amount of information for the majority of clients.
Chimper (EE2) $TBC by Ducktee
Chimper integrates your MailChimp account with Expressionengine 2 allowing you to edit, distribute and monitor the emails in a really clean 4 step process. I loved what I saw of this addon when it was briefly available for download but unfortunately it seems to be back in development pending a beta release. One to watch.

.png)

subscribe to RSS
subscribe via e-mail
@ee_spotlight













Contributors
5 Comments...