Quantcast
Channel: WordPress.org Forums » [WP Mail SMTP by WPForms - The Most Popular SMTP and Email Log Plugin] Support
Viewing all articles
Browse latest Browse all 5014

Failure using WP Mail SMTP within admin

$
0
0

Replies: 0

I have a plugin that sends mail from the WordPress admin and the front end.

With WP Mail SMTP installed and configured for SendGrid, mail is sent via SendGrid on the front end, but when admin mail is sent via wp_mail() SendGrid is bypassed. I have verified this by checking SendGrid activity log.

The admin messages are triggered via an action when my admin page is loaded:
add_action( 'plugins_loaded', 'sendMessages' );

I can’t figure out why WP Mail SMTP is not intercepting the admin mail. Any help appreciated?


Viewing all articles
Browse latest Browse all 5014

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>