Post by sulrik » Wed Sep 20, 2017 5:12 am

Hi, I completly don't know what I'm doing wrong. This are setting in mail tab:

Code: Select all

Protocol: SMTP
Hostname: tls://server.adress
SMTP username:
SMTP pass: password
SMTP port: 465
SMTP Timeout: 5
I've tried hostename with ssl:// and without this prefix and I'm getting always this message
Warning: fsockopen(): php_network_getaddresses: getaddrinfo failed: No address associated with hostname in /var/www/vhosts/31/127002/webspace/httpdocs/ on line 167Warning: fsockopen(): unable to connect to :465 (php_network_getaddresses: getaddrinfo failed: No address associated with hostname) in /var/www/vhosts/31/127002/webspace/httpdocs/ on line 167
I've checked the file system/library/mail.php to see if there is this old bug with "host" instead "hostname" but it's seems to be ok.
Line 167:

Code: Select all

$handle = fsockopen($hostname, $this->smtp_port, $errno, $errstr, $this->smtp_timeout);



Wed May 24, 2017 9:10 pm

Post by bzark » Sun Oct 01, 2017 1:58 am

Most e-mail servers that use TLS use port 587. Try that port instead.

New member


Wed Oct 01, 2014 10:32 pm
Who is online

Users browsing this forum: No registered users and 6 guests