SMTP

Get help with installation and running phpBB 3.3.x here. Please do not post bug reports, feature requests, or extension related questions here.
IThamster
Registered User
Posts: 2
Joined: Fri Jan 31, 2025 10:08 pm

SMTP

Post by IThamster »

I have installed phpBB tree days ago.After that i have try to get SMTP functionality to working.
My host provider is disabled PHP mail command.

I have change config/production/config.yml
debug.show_errors: true

So today i got new error message, and no idea what todo.

[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions_messenger.php on line 1623: stream_socket_enable_crypto(): SSL operation failed with code 1. OpenSSL Error messages: error:0A00014D:SSL routines::legacy sigalg disallowed or unsupported
rxu
Extensions Development Team
Posts: 4018
Joined: Wed Oct 25, 2006 12:46 pm
Location: Siberia, Russian Federation

Re: SMTP

Post by rxu »

IThamster wrote: Fri Jan 31, 2025 10:26 pm I have change config/production/config.yml
If you're comfortable with core file edits, could you try changing the folowing line in file [ROOT]/includes/functions_messenger.php:

Code: Select all

$crypto = (phpbb_version_compare(PHP_VERSION, '5.6.7', '<')) ? STREAM_CRYPTO_METHOD_TLS_CLIENT : STREAM_CRYPTO_METHOD_SSLv23_CLIENT;

to

Code: Select all

$crypto = STREAM_CRYPTO_METHOD_TLS_CLIENT;
IThamster
Registered User
Posts: 2
Joined: Fri Jan 31, 2025 10:08 pm

Re: SMTP

Post by IThamster »

I try that. It seems my web hosting service has some how broken TLS certificate.
I submit ticket and hope they to-do something.

I get some error when running command:

Code: Select all

openssl s_client -connect mail.xxxx.xxx:587 -starttls smtp

Return to “[3.3.x] Support Forum”