Hi everyone,
I am under the free host x11.10hosting.com.
I have a website that sends out 2FA codes as well as a forgot password request to the registered email on file.
Everything worked just fine until when I noticed today that the site cannot email GMail. All others are working fine.
I have searched the whole day for a solution and nothing so far.
The PHP script below will send a test message every time the page is refreshed. If I enter a hotmail or yahoo address or any other it works just fine. Gmail however doesn't.
Any ideas?
Thanks!
I am under the free host x11.10hosting.com.
I have a website that sends out 2FA codes as well as a forgot password request to the registered email on file.
Everything worked just fine until when I noticed today that the site cannot email GMail. All others are working fine.
I have searched the whole day for a solution and nothing so far.
The PHP script below will send a test message every time the page is refreshed. If I enter a hotmail or yahoo address or any other it works just fine. Gmail however doesn't.
$headers = 'From: <no-reply@mywebsite.comr>' . "\r\n" .
'Reply-To: <no-reply@mywebsite.com>';
mail('<myemail@gmail.com>', 'Test Message', 'the test message', $headers,
'no-reply@mywebsite.com');
Any ideas?
Thanks!