CiviMail Best Practices March 7, 2011 2 Email is Still King "E-mail continues to be the core way in which money is raised and volunteers are driven to go to events. ... In terms of response rates, e-mail will come out on top.” - Joe Rospars, Blue State Digital 2 2 3 Complexities of Sending Email » » » 78% of all email sent is considered SPAM It’s annoying to consumers and it is problematic to ISPs ISPs utilize a variety of different measures to reduce the level of SPAM, unfortunately this creates additional legwork for digital marketers » Mechanisms for Combatting SPAM • ISP Throttling • IP Blacklists and Whitelists • SPF (Sender Policy Framework) • Feedback Loops » Chances are if you are sending email out through your web host a large portion of your email is not being received » Free utility to check: http://www.mxtoolbox.com/blacklists.aspx 3 3 4 CiviMail’s Shortcomings » » » » » » No ISP throttling Bounce processing libraries out of date No support for SPAM feedback loops from major ISPs Requires a lot of expertise to setup the proper infrastructure Sending speed is greatly determined by your server configuration Running CiviMail on shared hosting accounts is often problematic But don’t let that discourage you… 4 4 5 Why Use CiviMail » » CiviMail is still a very powerful email engine With the proper setup CiviMail can reliably deliver 250,000+ emails/hour But the real reason to use CiviMail is… » It offers one centralized database for all of your contacts • • • » No importing and exporting No 3rd party APIs Just the ability to email to email your donors, your event attendees, your petition signers, your volunteers, your contacts that like pistachio ice cream at anytime anywhere without having to call in the IT swat team and data wranglers The more personal and relative you make your emails the higher your conversion rates will be 5 5 6 Scalability: What’s Possible 4GB Server Size # Threads 2GB 40 Threads 20 Threads 10 Threads 5 Threads 2 Threads 1 Thread 1GB 512MB 0 100 200 300 400 (Thousands) Emails/Hour 6 6 7 3rd Party MTAs • Price: $0.001 $0.00045 per email • Price: $0.003 $0.0008 per email • Price: $0.0025 $0.0003 per email • REST API for Feedback Loops • REST API for Feedback Loops • REST API for Feedback Loops • Control panel to monitor sending • Control panel to monitor sending • Control panel to monitor sending • No limits on simultaneous threads • 10 Threads at a time • • Project Code: https://github.com/e motive/CiviCRMsocketlabsintegration Reputation Management • Project Code: https://github.com/e motive/CiviCRMsendgrid-integration 7 7 8 Dashboard Analytics 8 8 9 Feedback Loops » Failed Messages (messagesFailed) • Utilizes unified failure deliver codes to sort hard/soft bounces • Places hard bounces in group in CiviCRM • Hook on the CiviMail process marks all people in the bounce group as on hold in CiviCRM before it calculates the total number of messages • Comcast, Time Warner and Charter all use soft bounces to flag SPAM > Socketlabs can work with you to get your IP cleared if you have been flagged » Spam Messages (messagesFBLReported) • Supports AOL, Hotmail and Yahoo • Marks each email as Do Not Email in CiviCRM preventing them from ever being contacted using CiviMail » » » Multi-site/client configuration available with a small hack on outbound mailing code Google does not provide any feedback on SPAM API Documentation: https://www.socketlabs.com/od/api 9 9 10 Our Mail System Setup LAMP Stack with Civi and Drupal Cloud Sites Database Server Qmail Mail Relay 10 10 11 Available Modules and Resources » » Check for Blacklisting: http://www.mxtoolbox.com/blacklists.aspx Check your Sender Score with Returnpath: https://www.senderscore.org/ » Setting up a SPF Record: http://old.openspf.org/ » ISP Resources • AOL Postmaster: http://postmaster.aol.com/ • Yahoo Postmaster: http://postmaster.yahoo.com • MSN/Hotmail Postmaster: http://mail.live.com/mail/postmaster.aspx » Feedback Loop Modules • Send Grid: https://github.com/emotive/CiviCRM-sendgrid-integration > • » Looking for people to help debug/test! Socketlabs: https://github.com/emotive/CiviCRM-tools ReturnPath Blog: http://www.returnpath.net/blog/received/ 11 11 12 Questions and Discussion » Contact Information Matthew Briney emotive, llc matthew@emotivellc.com (703) 379-4218 12 12