Update 1: I’ve now set up an SPF record and the test email is coming through with no problems.
When sending a test email I get the following message: Success!
Test HTML email was sent successfully! Please check your inbox to make sure it was delivered.
And I receive the email in my inbox.
However, when I fill in the contact form it does not go through and instead I get the following notification from WP Mail:
(`Heads up! The last email your site attempted to send was unsuccessful.
Email Source: WPForms Lite
Mailer: Other SMTP
SMTP Error: The following recipients failed: (admin email): Cannot send a message as (email I am using to test). Please send as (admin email)
What is going on here?
(I’ve removed emails for privacy)
Update 2: Okay if I use my own email in the contact form, I can use it. But any other email fails. Is there a reason for this?