I am trying to set up my emailserver (at my hoster) in phpBB. I have tried every option, but Emails can not be sent (Using SMTP cause PHP-Mailer is not working).
The mailserver-smtp uses port 587 with TLS. So I set the server to:
tls://mailserver.provider.com
Port 587
Username: xxxx
Password: xxxx
I also tried:
ssl://mailserver.provider.com
and of course:
mailserver.provider.com
All other settings remain at the defaults.
There is not a single mail going out from phpBB cause of connection issues,
If I do not use tls:// or ssl:// there is no error logged, but emails are also not sent nor received at the receivers side.
Errors when using ssl:// tls://:
Code: Select all
Errno 2: stream_socket_client(): SSL operation failed with code 1. OpenSSL Error messages:
error:1408F10B:SSL routines:ssl3_get_record:wrong version number at [ROOT]/includes/functions_messenger.php line 1188<br />
Errno 2: stream_socket_client(): Failed to enable crypto at [ROOT]/includes/functions_messenger.php line 1188<br />
Errno 2: stream_socket_client(): Unable to connect to tls://smtp.world4you.com:587 (Unknown error) at [ROOT]/includes/functions_messenger.php line 1188
and
Errno 2: stream_socket_client(): SSL operation failed with code 1. OpenSSL Error messages:
error:1408F10B:SSL routines:ssl3_get_record:wrong version number at [ROOT]/includes/functions_messenger.php line 1188<br />
Errno 2: stream_socket_client(): Failed to enable crypto at [ROOT]/includes/functions_messenger.php line 1188<br />
Errno 2: stream_socket_client(): Unable to connect to ssl://smtp.world4you.com:587 (Unknown error) at [ROOT]/includes/functions_messenger.php line 1188
Thanks a lot!