MyBB Community Forums

Full Version: MYBB SMTP + Amazon SES + PHP 5.6 + TLS 1.2 not working
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hello MYBB guys,

before you ask: Yes, my forum is unfortunately still running on PHP 5.6, an update is in progress and will be finished at the end of the year (many plugin changes, redesign and so on).

For the time beeing, I search for solution for my problem: As Amazon SES requires TLS 1.2 now, I had to set up a new identity and SMTP credentials. DNS entries are correct, my server supports TLS 1.2 and it's enabled. SMPT is working in wordpress with the exakt same entries, but not in MYBB.

Officially TLS 1.2 is supported with PHP 5.6, but I feel like it is not working with MYBB 1.8.4.

System log error message:

Mail may not be delivered. Reason: 554 Access denied: Amazon SES no longer supports TLS 1.0 and TLS 1.1 connections. You must update your client to use TLS version 1.2 or above. To learn more and to update your client, see https://go.aws/3AUlVSb. For further assistance, contact AWS support

I made some tests, of course in my testforum with a higher version it's all working fine. - So no external problems here.

Any ideas how to get TLS 1.2 running with MYBB 1.8.4 / PHP 5.6?

I will be grateful for any help.

Best Regards
Skrilax

Fix: https://github.com/mybb/mybb/issues/4769

Provided by StefanT from Mybb.de