WP Mail in Custom PHP File Not Working
-
Hello!
I’m trying to set up a custom-coded HTML form within WordPress. I got it working correctly on a test server, but then when I integrated it into WordPress and got it functioning, I couldn’t get the email to work. I switched it to the wp_mail function and that didn’t work, either. I remembered we’d had issues sending emails from the site before and had installed WP Mail SMTP, sending via Gmail. I tried changing the headers to use the Gmail address and even tried removing the headers, but the emails won’t go through.
Is there some way I can send via WP Mail SMTP’s settings from my custom PHP file? Is there something special I need to do?
Thank you so much!!!
The page I need help with: [log in to see the link]
- The topic ‘WP Mail in Custom PHP File Not Working’ is closed to new replies.