Quantcast
Viewing all articles
Browse latest Browse all 5008

Does wp_mail() use the credentials from WP Mail SMTP?

Replies: 0

I am creating my own form and wish to use the mailer settings configured by the plugin to send messages on form submission using wp_mail().

It looks like the global $phpmailer does not contain any configuration settings when var_dumped.

When/how can I access the object that the plugin uses to send the test email, and which sendmail method does it use? wp_mail()?

Thanks


Viewing all articles
Browse latest Browse all 5008

Trending Articles



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