sendMessage / Swift Mailer Question

3 posts by 2 authors in: Forums > CMS Builder
Last Post: October 30, 2013   (RSS)

By Steve99 - October 30, 2013

Hello,

I read the dev note about the sendMessage function bypassing PHP mail() and using the Swift Mailer library.

From doing some reading on Swift Mailer, it seems to have handling for "email flooding" that breaks out messages being sent to a large quantity recipients into groups.

I have an email script that sends notifications to all site members. I've opted to have this sent to the recipient list as BCC versus looping through the list. Mail servers do have different limits on the quantity of email addresses as BCC.

My understanding is that with Swift Mailer having the handling for "email flooding" should alleviate any possible issues with this. Can this be confirmed?

Thanks in advance.

Steve

By Dave - October 30, 2013

Hi Steve,

I'd check with your web host first, let them know you want to send out notifications to your users and ask if they have any daily limits on sending emails.  Maybe hosts have limits (regardless of how you send emails).  Google, for example, limits users to 2000 emails per day or 500 emails on the same BCC: https://support.google.com/a/answer/166852?hl=en

Regarding SwiftMailer plugins, we're not using any (unless they're enabled by default) and when we send lots of emails we do do it in a loop (with newsletter builder in blocks of x emails every y minutes on a cronjob) so you'd have to test to see if any of the anti-flood features work or if they work with your host.  Also, make sure that not having the email on the to: line might trigger more spam filters

Here's some links I found while searching that might be helpful:

Lastly, if you need a good SMTP service MailChimp's Mandrill SMTP service is free for up to 12k emails a month: http://mandrill.com/

Hope that helps!

Dave Edis - Senior Developer
interactivetools.com