PHP Form/mail()/phpmailer Issue – Godaddy Hosting

Contact Form 7 – Tel Field Validation
September 14, 2020
Goal Setup for Phone number and email id in GTAG
June 7, 2021

PHP Form/mail()/phpmailer Issue – Godaddy Hosting

If you are using Godaddy Hosting and if you are facing SMTP not found or relay error then follow the below steps:

Step 1: Deactivate all the SMTP Plugin / PHPMAILER functions
Step 2: Try using simple mail() function to send email
Step 3: Try to send unique variable like $name in SUBJECT line of mail() function.
Note: This is applicable for all the Wordpress Versions & php mail functions, as Godady sends email without SMTP from server directly but needs uniquye Subject line in every email.

For PHP:
$subject = "New Lead from $Name";

For WordPress: 
In Subject field: Send value using [Name]

Leave a Reply

Your email address will not be published. Required fields are marked *