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
Parm: -fmymail@store.pl
Hostname: tls://server.adress
SMTP username: mymail@store.pl
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/pilawski.pl/system/library/mail.php 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/pilawski.pl/system/library/mail.php 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);

Newbie

Posts

Joined
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

Posts

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

Users browsing this forum: No registered users and 58 guests