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
- The topic ‘wp_mail exists’ is closed to new replies.