• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

Linux Gesior Email system

patrik161

Active Member
Joined
Sep 6, 2015
Messages
91
Solutions
1
Reaction score
26
When i try to send emails, this problem happens :

Code:
PHP Warning:  fsockopen(): unable to connect to smtp.poczta.o2.pl:465 (php_network_getaddresses: getaddrinfo failed: Name or service not known) in /var/www/html/classes/smtp.php on line 92, referer: http://xxxx.xxx/?subtopic=accountmanagement&action=registeraccount

I already tried with ssl also same problem :

Code:
PHP Warning:  fsockopen(): unable to connect to ssl://smtp.poczta.o2.pl:465 (php_network_getaddresses: getaddrinfo failed: Name or service not known) in /var/www/html/classes/smtp.php on line 92, referer: http://xxxx.xxx/index.php?subtopic=lostaccount&action=step1

Config :

Code:
# Emails Config
$config['site']['send_emails'] = true;
$config['site']['mail_address'] = "[email protected]";
$config['site']['smtp_enabled'] = true;
$config['site']['smtp_host'] = "ssl://smtp.poczta.o2.pl";
$config['site']['smtp_port'] = 465;
$config['site']['smtp_auth'] = true;
$config['site']['smtp_user'] = "xxxxxxxx";
$config['site']['smtp_pass'] = "xxxxxxxx!";

Ubuntu 14.04 , Apache2,
I readed other topics about enabling ssl in your php.ini , but files in my system doesn't contain :
;extension=php_openssl.dll

Any ideas ??
 
When i try to send emails, this problem happens :

Code:
PHP Warning:  fsockopen(): unable to connect to smtp.poczta.o2.pl:465 (php_network_getaddresses: getaddrinfo failed: Name or service not known) in /var/www/html/classes/smtp.php on line 92, referer: http://xxxx.xxx/?subtopic=accountmanagement&action=registeraccount

I already tried with ssl also same problem :

Code:
PHP Warning:  fsockopen(): unable to connect to ssl://smtp.poczta.o2.pl:465 (php_network_getaddresses: getaddrinfo failed: Name or service not known) in /var/www/html/classes/smtp.php on line 92, referer: http://xxxx.xxx/index.php?subtopic=lostaccount&action=step1

Config :

Code:
# Emails Config
$config['site']['send_emails'] = true;
$config['site']['mail_address'] = "[email protected]";
$config['site']['smtp_enabled'] = true;
$config['site']['smtp_host'] = "ssl://smtp.poczta.o2.pl";
$config['site']['smtp_port'] = 465;
$config['site']['smtp_auth'] = true;
$config['site']['smtp_user'] = "xxxxxxxx";
$config['site']['smtp_pass'] = "xxxxxxxx!";

Ubuntu 14.04 , Apache2,
I readed other topics about enabling ssl in your php.ini , but files in my system doesn't contain :
;extension=php_openssl.dll

Any ideas ??

You should have a file called php.ini, according to google you should have 3.
Try this;
Code:
sudo find / -name php.ini
Ref; Find the correct php.ini file
 
Okay, i found all those 3 php
Code:
/etc/php5/cli/php.ini
/etc/php5/cgi/php.ini
/etc/php5/apache2/php.ini
In any of those php.ini files i cant find ;extension=php_openssl.dll , should i add the line? if yes where?
 
Back
Top