• Hi there,

    I just installed your plugin and it looks pretty solid so far, but I’m wondering if it’s compatible with Mailgun? Specifically, the Mailgun for WordPress plugin?

    I tried sending a test notification to myself through Settings > Email Users, and while the page showed that an email was sent to me, nothing is showing up in my inbox and Mailgun isn’t showing any log of the outbound email.

    I’m also receiving the wp_mail() appears to be overloaded. warning; would that have something to do with it? All other emails from the site (standard WordPress and Formidable notifications) are sending successfully.

    Cheers,
    Mary-Ann

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Mike Walsh

    (@mpwalsh8)

    I am not familiar with Mailgun but a quick looks implies that Mailgun overloads the wp_mail() function. This is likely the reason you see the wp_mail() appears to be overloaded message. This isn’t necessarily a problem as wp_mail() is what WordPress calls a “pluggable” function which means a plugin, or in some cases, plugins, can overload the definition of wp_mail() and change its behavior.

    As long as Mailgun doesn’t change the argument list that WordPress defines for wp_mail(), then it should work. At least in theory. If you look at the documentation for wp_mail() you can see that three of the five parameters can accept either a string or an array as an argument. When a plugin overloads wp_mail() it has to be written such that it handles both. Based on reading the Mailgun plugin page, with the number of installations reported, I would expect that it would handle the parameters correctly no matter how they are passed but I haven’t looked at the code to see.

    A simple test would be to temporarily disable Mailgun and see if Email Users is working correctly with the default WordPress provided version of wp_mail().

    • This reply was modified 5 years, 10 months ago by Mike Walsh.
    • This reply was modified 5 years, 10 months ago by Mike Walsh.
    Thread Starter Mary-Ann Zykin

    (@mazykin46)

    Hi Mike,

    I appreciate the thorough response! I’ll dig into it deeper and test disabling the Mailgun plugin once I push to staging (one of the main reasons I’m using Mailgun is so that I can test emails in a dev environment).

    Cheers,
    Mary-Ann

    Why is this marked as resolved? I have the same issue with Mailgun and it is not corrected.

    • This reply was modified 5 years, 10 months ago by originalfire.
    Thread Starter Mary-Ann Zykin

    (@mazykin46)

    Apologies @originalfire, I’ve marked the topic back to not resolved.

    Thanks. I’ve only found 2 plugins that will bulk email users and neither of them currently work. I had to export users and user an external email platform to accomplish this. The client uses Ontraport but Mailchimp or any CRM would work.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Compatible with Mailgun?’ is closed to new replies.