AnsweredAssumed Answered

Outbound email error: getaddrinfo failed: Name or service not known

Question asked by carlos.martin on Jan 7, 2016

Good day

 

I have a fresh sugarcrm install (Version 6.5.22 Build 1055) in a centos 7 server with php 5.4.16. I'm trying to set up the outgoing email service, but I can't get it to work. When I test the settings, I get the following error: SMTP -> ERROR: Failed to connect to server. Code: 0 Reply: php_network_getaddresses: getaddrinfo failed: Name or service not known.

 

Thinking it might be a dns issue, I've tried using nslookup to get info from several domains without issue. Also, I have a joomla installation which uses the same smtp configuration to send emails, and it works correctly.

 

It seems as if it might be an issue with sugarcrm itself, but for the life of me, I can't seen to find it. What else could it be?

 

Thanks in advance!

Outcomes