Post by Kok5 » Wed Sep 28, 2022 2:56 pm

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.

Newbie

Posts

Joined
Wed Jun 24, 2020 10:12 am

Post by ADD Creative » Wed Sep 28, 2022 7:50 pm

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.

www.add-creative.co.uk


Expert Member

Posts

Joined
Sat Jan 14, 2012 1:02 am
Location - United Kingdom

Post by Kok5 » Thu Sep 29, 2022 12:47 pm

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.

Newbie

Posts

Joined
Wed Jun 24, 2020 10:12 am

Post by ADD Creative » Thu Sep 29, 2022 4:34 pm

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.

www.add-creative.co.uk


Expert Member

Posts

Joined
Sat Jan 14, 2012 1:02 am
Location - United Kingdom
Who is online

Users browsing this forum: jagall, moreduff, SohBH and 259 guests