When I use php mail to send emails, all customer emails go into the trash
I tried sending to gmail using SMTP, but it gave the following error:
[Wed Sep 06 03:07:24.139375 2023] [proxy_fcgi:error] [pid 41087:tid 139911344436992] [client 43.154.213.112:0] AH01071: Got error 'PHP message: PHP Fatal err or: Uncaught Exception: Error: Network is unreachable (101) in /public_html/system/library/mail.php:170\nStack trace:\n#0 /public_html/catalog/model/account/customer.php(55): Mail->send()\n# 1 /public_html/system/storage/modification/system/engine/loader.php(178): ModelAccountCustomer->addCustomer()\n#2 /public_html/system/engine/proxy.php(25): Loader->{closure }()\n#3 /public_html/catalog/controller/account/register.php(21): Proxy->__call()\n#4 /public_html/system/storage/modification/system/engine/action.php( 51): ControllerAccountRegister->index()\n#5 /public_html/catalog/controller/startup/router.php(25): Action->execute()\n#6 /public_html/system/storage/modification/syst. ..', referer: www[.]GOOD[.]com/register
"Network is unreachable" could mean that the hostname is wrong.
Usually the best format to use is.
Hostname: ssl://example.com
Port: 465
Usually the best format to use is.
Hostname: ssl://example.com
Port: 465
Who is online
Users browsing this forum: No registered users and 3 guests