WordPress.org

Ready to get started?Download WordPress

Forums

wpMandrill
[resolved] Some emails not being logged by Mandrill (5 posts)

  1. petergibbons
    Member
    Posted 1 year ago #

    Greetings.

    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

    http://wordpress.org/extend/plugins/wpmandrill/

  2. willcast
    Member
    Posted 1 year ago #

    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.

  3. petergibbons
    Member
    Posted 1 year ago #

    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?

    Thanks!

  4. willcast
    Member
    Posted 1 year ago #

    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?

  5. petergibbons
    Member
    Posted 1 year ago #

    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.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic