Based on this Github thread "Send Email" Workflow Action fails in PHP8.0+ · Issue #10033 · salesagility/SuiteCRM · GitHub which is the same issue from my point of view, I downgraded the server PHP from 8.0 to PHP 7.4 and it appears the problem went away after a few tests
(posting this for others)
1 Like
Nice find!
What about keeping PHP 8.0 and trying the patch proposed there? If it’s not too much trouble. That would be a nice validation that the proposed fix works.
pgr
25 September 2023 10:17
23
I created a PR for this.
salesagility:hotfix
← pgorod:patch-16
opened 10:14AM - 25 Sep 23 UTC
## Motivation
After all the recent work done to make email configuration in S… uiteCRM less of a problem, this bug is totally killing the experience. Again. A fox has been around for months, but people keep stumbling on this, comes up in the forums every week.
## Description
Please see Issue #9950 for details.
## How To Test This
To see the bug happening, before the fix:
1. In **Admin / Email settings**, set up an SMTP account that uses TLS.
2. Check DB, value is saved in `outbound_email`, system account, field `mail_smtpssl` with value 2.
3. Open the **Admin / Email settings** screen again. Note that the dropdown changed to `None`.
4. Click Save.
5. Check DB, field is now 0.
With the fix, the dropdown should show the saved value, and saving should keep that value every time.
## Types of changes
- [X] Bug fix (non-breaking change which fixes an issue)
- [ ] New feature (non-breaking change which adds functionality)
- [ ] Breaking change (fix or feature that would cause existing functionality to change)
### Final checklist
- [X] My code follows the code style of this project found [here](https://docs.suitecrm.com/community/contributing-code/coding-standards/).
- [ ] My change requires a change to the documentation.
- [X] I have read the [**How to Contribute**](https://docs.suitecrm.com/community/contributing-code/) guidelines.
@1reason did you get a chance to try the workflow issue with PHP 8.0, but with the proposed fix?
Getting this issue in SuiteCRM 7.14.0
binfer
17 December 2023 17:34
25
Tried upgrading from 7.13 to 7.14.2. PHP 8.1.26. Email failed. Kept getting “unsupported authentication method”. Did not test any further, as email is a showstopper. Rolled back to 7.13. Bummer.
Isn’t there any automated testing (eg: Jenkins) done before releasing? I mean, how can one possibly release a version with such showstopper bugs?
pgr
18 December 2023 11:46
26
That’s a different error, maybe its better to start your own thread with all the details.
I believe you’re only missing a PHP module.
binfer
19 December 2023 22:23
27
Thanks for your response. Which one? Is there some kind of system requirements that specifies which PHP modules to enable?
pgr
19 December 2023 23:10
28
A simple preliminary question: is your SSL/TLS setting getting saved correctly? If you go out of that screen, and back in, is your preferred setting still there?
About the PHP modules, you can find that in the basic installation instructions on the Docs site.