Support » Plugin: wpMandrill » Some emails not being logged by Mandrill

  • Resolved petergibbons



    Only some of my wp_mail calls are being logged. Namely the password reset calls. All the wp_mail calls are sending email correctly… I’m using wp_mail as per the codex. I also tried calling wpMandrill::mail() directly with no luck.

    Any suggestions?

    My mandril account username is peter-gibbons

Viewing 4 replies - 1 through 4 (of 4 total)
  • Can you confirm that all those missing emails are being sent through Mandrill? Check the email headers and verify that they are actually coming from a Mandrill server.

    If wpMandrill found any error while sending an email, it silently sends it through the regular WP wp_mail function. That might be happening.

    At first all email was indeed going through Mandrill but now none of it is (other than the password reset).

    Are there any common errors I should be looking for?


    I assume you are using it through your own plugin/process.

    I’d activate the WP_DEBUG constant in your wp_config.php file and then check the log file after sending a few emails.

    Probably your payload is malformed?

    Finally figured it out. My payload seemed fine, but I was passing headers into wp_mail as well which it doesn’t like. I took out the headers and all mail is sending as intended through mandrill.

    thanks for the guidance willcast.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Some emails not being logged by Mandrill’ is closed to new replies.