4

I would like to be able to use different mail servers to send different emails, for instance:

  • all transactional emails (contribution receipt, event registration...) sent by our mail server, all mass mailing sent using mandrill
  • all the emails sent by [email protected] are pushed through mandrill, but those sent by [email protected] via our own mail server
  • do A/B testing between two different mail providers to see if mailjet or mailchimps provide better deliverability

I do think it would need some coding, either as extension or to modify civicrm core, but would love to be proven wrong.

Assuming we need to add this feature, would it be useful for you too?

3
  • That would be definitely a great feature.
    – Andrei
    Commented Feb 4, 2016 at 17:51
  • If it were flexible to handle mandrill or mailchimp, a lot of people would use this, I think. Commented Feb 4, 2016 at 21:12
  • Note that while the answer below is a good one, in the case of Mailchimp vs. Mandrill, changes to the Mandrill TOS most likely render this moot in your case: blog.mandrill.com/important-changes-to-mandrill.html Commented Feb 25, 2016 at 6:26

1 Answer 1

2

My proposal is using CiviCRM Extension like this one Alternate Mailing Server.

Assumptions:

  • each alternate server has own setting mailing_backend_alternate[1-9],
    • first at mailing_backend_alternate1,
    • second at mailing_backend_alternate2,
  • in session variable is stored which server will be used,
  • server is changed by hook_civicrm_alterMailer().

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.