Open Kapustlo opened 1 year ago
You didn't fill in your PHP version...
Make sure it's within the Matrix: https://docs.suitecrm.com/admin/compatibility-matrix/
@pgorod I use the official Docker image, I'm not sure what PHP version is there. I'll try to check
docker exec -it suitecrm php --version:
PHP 8.0.29 (cli) (built: Jul 24 2023 21:31:00) ( NTS )
Copyright (c) The PHP Group
Zend Engine v4.0.29, Copyright (c) Zend Technologies
with Zend OPcache v8.0.29, Copyright (c), by Zend Technologies
Actually after debugging a little bit more, all keys in the $ret (rfc822ParseHeaders) look fine, including the "From" header but I'm not sure where to look, so I'll give some more information if needed
Issue
500 error when clicking on the "reply" button on an email page.
Expected Behavior
200 ok response rendering the reply page.
Actual Behavior
500 error. Error from logs:
The problem seems to be in the rfc822ParseHeaders function that's in the include/Imap/Imap2Handler.php file. For some reason "From:" header that's in the $headers is missing the email address part there only containing the sender's name but the "Reply-To" email is fine. For example: From: JohnDoe Reply-To: john.doe@example.com
Steps to Reproduce
Your Environment