tangkhuong
New member
- Joined
- Aug 3, 2021
- Messages
- 1
Everything was fine before. But after I reinstalled it automatically
Centos 7 64bit + Directadmin + php 7.4 + openssl 1.0.2k
phpinfo 7.4.22
openssl
OpenSSL support enabled
OpenSSL Library Version
OpenSSL 1.0.2k-fips 26 Jan 2017
OpenSSL Header Version
OpenSSL 1.0.2k 26 Jan 2017
Openssl default config /etc/pki/tls/openssl.cnf
I have successfully sent mail by Roundcube, but sending in php, gives the following error:
Message: fsockopen(): unable to connect to ssl://smtp.googlemail.com:465 (Network is unreachable) The following SMTP error was encountered: 101 Network is unreachable Unable to send email using PHP SMTP. Your server might not be configured to send mail using this method.
Above source code works on Centos 7 + xampp + php 7.4 + openssl 1.1.1k
I have researched on google, Directadmin forum but can't fix it. Please help me fix this problem.
Code:
bash <(curl -Ss https://www.directadmin.com/setup.sh || wget -O - https://www.directadmin.com/setup.sh) auto
Centos 7 64bit + Directadmin + php 7.4 + openssl 1.0.2k
phpinfo 7.4.22
openssl
OpenSSL support enabled
OpenSSL Library Version
OpenSSL 1.0.2k-fips 26 Jan 2017
OpenSSL Header Version
OpenSSL 1.0.2k 26 Jan 2017
Openssl default config /etc/pki/tls/openssl.cnf
I have successfully sent mail by Roundcube, but sending in php, gives the following error:
Message: fsockopen(): unable to connect to ssl://smtp.googlemail.com:465 (Network is unreachable) The following SMTP error was encountered: 101 Network is unreachable Unable to send email using PHP SMTP. Your server might not be configured to send mail using this method.
Above source code works on Centos 7 + xampp + php 7.4 + openssl 1.1.1k
I have researched on google, Directadmin forum but can't fix it. Please help me fix this problem.