We are using CiviCRM 5.35.0, but I have tracked this issue down to the installation of 5.34.0 (updated from 5.33.2). Our CMS is Drupal 7.78. Our PHP is 7.3.27. Our outbound mail setting in CiviCRM is "mail()" and this continues to work for most mailings.

However, starting right after I installed 5.34, when a contribution is made, CiviCRM does not seem to actually send the expected emails (receipt AND profile submission notifications). In the contact's contribution record, it says that the email receipt was sent, but neither the contact nor myself (I am cc'd on those receipts - setting on the contribution page) gets an email.

Our Payment processor is Stripe and we are using the Stripe Payment Processor extension version 6.5.7. All extensions are up to date. Stripe continues to send its receipts directly, so at least our users are getting those.

As far as I know, this issue is only occurring when emails are triggered by a contribution. Otherwise, the system's emails seem to be going out as expected.

Anybody have any ideas what might be causing this?


  • In civicrm.settings.php there a LOG_MAIL_AND_SEND constant you can define. It might help troubleshoot since then it will log what it thinks it's sending. But the file will get really big on a large site so don't leave it set too long. See docs.civicrm.org/dev/en/latest/tools/debugging/…. If you were using smtp I'd say you probably forgot to set up this docs.civicrm.org/sysadmin/en/latest/upgrade/version-specific/…, but that shouldn't apply to mail().
    – Demerit
    Commented Mar 10, 2021 at 23:18
  • Thanks for the tip Demerit. I have set this up and tested it. Now I just have to wait for someone to make a contribution. But it still seems suspicious to me that this issue would arise right after the installation of 5.34... Commented Mar 12, 2021 at 20:24
  • I can confirm now from the log that the emails are NOT being sent when a contribution is made. So...is this a bug? Commented Mar 13, 2021 at 19:47
  • There's a security release this Wednesday so might want to wait but if you're already on 5.35 it might not make any difference. But you could also try reproducing on dmaster.demo.civicrm.org which is 5.37 by duplicating your config there and then setting the outbound mail setting to "Redirect to Database". If an email gets sent it will be under Mailings - Archived Mailings, and then that means either it's fixed in a later release or there's something else odd on your site.
    – Demerit
    Commented Mar 13, 2021 at 23:52

1 Answer 1


I narrowed this down to one particular contribution page. Others were working as expected. I don't know what the problem was, but I worked around it by simply creating a replacement for that contribution page. Thanks to everyone who gave this some thought.

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.