[resolved] wp_mail exists (3 posts)

  1. FolioVision
    Posted 2 years ago #

    Hi, I installed your plugin but it kept saying that wp_mail had already been declared elsewhere. Well, of course it had, wp_mail is actually declared in wp-includes/pluggable.php . That is not a problem, as long as no plugin that is loaded before Sendgrid uses it. But if you have i.e. filled-in plugin active which is heavily using wp_mail, then the pluggable function gets declared for some reason before your plugin could do so. When I renamed your plugin's directory to "0-sendgrid-email-delivery-simplified", all worked as it should. I'm not sure what would be a good solution here. It may as well be that the filled-in plugin is badly coded. Thanks, Karol


  2. SendGrid INC
    Plugin Author

    Posted 2 years ago #

    Hi, we added some checking to see if this function was already declared, see similar comment: http://wordpress.org/support/topic/check-for-functions-existence?replies=2#post-5017348. I don't know we can do something else about it. Thanks for the feedback!

  3. SendGrid INC
    Plugin Author

    Posted 2 years ago #

    Let us know if you have other problems.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • SendGrid
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic


No tags yet.