No Code Attached Yet
avatar ubuntushopdoteu
ubuntushopdoteu
19 Dec 2024

What needs to be fixed

joomla 5 with php 8.3 joomla conatct form Email headers missing Reply To and Reply To Name
Bug is not solved in joomla 5:
https://forum.joomla.org/viewtopic.php?t=992972

Why this should be fixed

If admin gets an e-mail from the contact form,

How would you fix it

Side Effects expected

avatar ubuntushopdoteu ubuntushopdoteu - open - 19 Dec 2024
avatar joomla-cms-bot joomla-cms-bot - change - 19 Dec 2024
Labels Added: No Code Attached Yet
avatar joomla-cms-bot joomla-cms-bot - labeled - 19 Dec 2024
avatar ubuntushopdoteu
ubuntushopdoteu - comment - 24 Dec 2024

in global config leave From Email empty, then it is working ok.

avatar iamteajazz
iamteajazz - comment - 27 Dec 2024

Hi, I’d like to contribute to resolving this issue. The missing Reply-To and Reply-To Name headers can be addressed by modifying the email generation logic in the contact form’s backend code. My plan involves:

Extracting the Reply-To email and name from the contact form.
Adding these values to the email headers using the Mailer class.
Ensuring backward compatibility and handling edge cases (e.g., empty or malformed Reply-To fields).
I’ll also test the changes with PHP 8.3 to ensure compatibility. Let me know if this approach aligns with the project’s goals, and I’ll start working on it.

Add a Comment

Login with GitHub to post a comment