Title: wp-mail conflict
Last modified: August 31, 2016

---

# wp-mail conflict

 *  Resolved [karelles](https://wordpress.org/support/users/karelles/)
 * (@karelles)
 * [10 years, 5 months ago](https://wordpress.org/support/topic/wp-mail-conflict/)
 * I’ve been getting the message at the top of my admin window:
    “Postman: wp_mail
   has been declared by another plugin or theme, so you won’t be able to use Postman
   until the conflict is resolved.” I found some references in the support files
   and have run the Postman diagnostics, discovering that the owner of wp-mail is
   pluggable.php So I did a search (the search in the support request didn’t work
   so I did a backup of the plugins folder, downloaded it and searched the contents
   locally). I think I found the culprit: Enhanced Media Library Pro. Turning it
   off turns off the message. Unfortunately I can’t do without that plugin. Interestingly
   email (google business) still seems to be going out on the site – according to
   the logs. So, 1) how worrisome is this? 2) how do I get 2 valued plugins to play
   nice with each other?
 * [https://wordpress.org/plugins/postman-smtp/](https://wordpress.org/plugins/postman-smtp/)

Viewing 6 replies - 1 through 6 (of 6 total)

 *  [webbistro](https://wordpress.org/support/users/webbistro/)
 * (@webbistro)
 * [10 years, 5 months ago](https://wordpress.org/support/topic/wp-mail-conflict/#post-7159999)
 * Hello all,
 * I am Nadia, an author of the Enhanced Media Library. Actually, EML has nothing
   to do with wp_mail, but please let me know if I can be of help with this issue
   in any way.
 * Best,
    -Nadia
 *  Thread Starter [karelles](https://wordpress.org/support/users/karelles/)
 * (@karelles)
 * [10 years, 5 months ago](https://wordpress.org/support/topic/wp-mail-conflict/#post-7160005)
 * Hi Nadia,
 * Thanks for your quick reply.
 * I had read the support request on this page: [https://wordpress.org/support/topic/plugin-not-working-declared-by-another-plugin?replies=20](https://wordpress.org/support/topic/plugin-not-working-declared-by-another-plugin?replies=20)
   
   about the wp-mail conflict and followed the directions re: finding that text 
   in another plug-in, suggesting that that plugin might be conflicting. I don’t
   think it actually has to do with EML having anything to do with wp-mail, but 
   pluggable.php is loaded before postman as per the following from that support
   thread: “pluggable.php has a function called wp_mail. When Postman loads first,
   as it should, Postman’s wp_mail is used and pluggable.php’s wp_mail is skipped.
   But, if Postman is not installed, pluggable.php’s wp_mail is used. Your problem
   is that pluggable.php is loaded before Postman. This is incorrect. It means something
   is messing with the WordPress bootstrap, and could cause other problems like 
   weird bugs or security holes. Plugins/themes are not supposed to directly call
   core files. That’s what the API is for.”
 * I do know that when I disable EML pro, the error message goes away.
 * Again, thanks for your (surprising) attention to this problem.
 *  [webbistro](https://wordpress.org/support/users/webbistro/)
 * (@webbistro)
 * [10 years, 5 months ago](https://wordpress.org/support/topic/wp-mail-conflict/#post-7160008)
 * Hi [@karelles](https://wordpress.org/support/users/karelles/),
 * Thank you for your research! EML includes pluggable.php, some tasks EML solves
   just cannot be solved because there is no API functions for them, so it may cause
   the issue. It’s not good I know, it should have led to problems one fine morning.
 * I will take a look at the issue tomorrow, it’s a bit late right now at my corner
   of the world. It also may take some time to find a solution. I will keep you 
   posted.
 * I just have mention notifications turned on 🙂
 * Best,
    -Nadia
 *  Plugin Author [Jason Hendriks](https://wordpress.org/support/users/jasonhendriks/)
 * (@jasonhendriks)
 * [10 years, 5 months ago](https://wordpress.org/support/topic/wp-mail-conflict/#post-7160221)
 * [@webbistro](https://wordpress.org/support/users/webbistro/), IMO this is dangerous.
   I’ve been asked by the core team not to discuss specifics on the forum. But if
   you can tell me what function you needed from pluggable.php, I’m sure I could
   help you figure out how to get access to it correctly.
 * [@karelles](https://wordpress.org/support/users/karelles/), the only fix is for
   Nadia to update her plugin.
 * [@ipstenu](https://wordpress.org/support/users/ipstenu/) one more example.
 *  [webbistro](https://wordpress.org/support/users/webbistro/)
 * (@webbistro)
 * [10 years, 5 months ago](https://wordpress.org/support/topic/wp-mail-conflict/#post-7160257)
 * Hi Jason,
 * Thank you for your attention. We are working on it right now. I will let you 
   know if we need assistance with it.
 * For everyone interested: it is going to be fixed in a day or two.
 * Best,
    -Nadia
 *  [webbistro](https://wordpress.org/support/users/webbistro/)
 * (@webbistro)
 * [10 years, 4 months ago](https://wordpress.org/support/topic/wp-mail-conflict/#post-7160323)
 * Hi all,
 * EML 2.2 without pluggable.php in just launched.
 * Best,
    -Nadia

Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘wp-mail conflict’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/postman-smtp_7c7b78.svg)
 * [Postman SMTP Mailer/Email Log](https://wordpress.org/plugins/postman-smtp/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/postman-smtp/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/postman-smtp/)
 * [Active Topics](https://wordpress.org/support/plugin/postman-smtp/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/postman-smtp/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/postman-smtp/reviews/)

## Tags

 * [pluggable.php](https://wordpress.org/support/topic-tag/pluggable-php/)
 * [postman](https://wordpress.org/support/topic-tag/postman/)

 * 6 replies
 * 3 participants
 * Last reply from: [webbistro](https://wordpress.org/support/users/webbistro/)
 * Last activity: [10 years, 4 months ago](https://wordpress.org/support/topic/wp-mail-conflict/#post-7160323)
 * Status: resolved