Page 1 of 1

Confirm Order Error

Posted: Wed Sep 28, 2022 2:56 pm
by Kok5
Hi,

When buyer click confirm order button then popup error message as below:
PHP Fatal error: Uncaught Exception: Error: php_network_getaddresses: getaddrinfo failed: Name or service not known (0) in /home2/vmart2u/public_html/system/library/mail/smtp.php:90

What the actual issue and how to solve it? Please anyone help to advise.

Thanks.

Re: Confirm Order Error

Posted: Wed Sep 28, 2022 7:50 pm
by ADD Creative
Check your SMTP hostname is correct in your settings. If you are sure it is correct, then contact your host because the server can not resolve it.

Re: Confirm Order Error

Posted: Thu Sep 29, 2022 12:47 pm
by Kok5
Hi, thanks for your advice.

The SMTP Hostname should put: smtp.domain.com, right?

Then just edit in system > setting > mail will do? Any source file in cpanel need to edit too?

Thanks.

Re: Confirm Order Error

Posted: Thu Sep 29, 2022 4:34 pm
by ADD Creative
SMTP Hostname will be whatever your email provider says to use.

You will probably want to use encryption. So add 'ssl://' in front, such as ssl://example.com and use port 465. Or tls://example.com and use port 587.