I am using my script on localhost and it's working like a charm on my local machine where I am using XAMPP on Windows, But on live gigarank's hosting, Php Mailer returning this error!
Code:
Message could not be sent.Mailer Error: SMTP connect() failed. https://github.com/PHPMailer/PHPMailer/wiki/Troubleshooting
Then I have tried to create an account on my subdomain which is hosted on Gigarank yusha.biobeo.com and created the email account
noreply@yusha.biobeo.com and updated the mx record to Prioraty 0 Destination yusha.biobeo.com
Now I have tried to connect PHP Mailer SMTP with this new email I have created as I thought If it's having problem while connecting Gmail's SMTP then it may connect to the local mail server which is hosted on gigarank without any problem.
But it returns this error
Code:
Message could not be sent.Mailer Error: SMTP Error: The following recipients failed: recipient@example.com: Verification failed for No Such User Here Sender verify failed
Now I have tried to log in to the Webmail of the new email I have created which is noreply@yusha.biobeo.com but From the webmail I am also unable to send or receive email with this id.
Please help.