Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Email headers missing Reply To and Reply To Name #44642

Open
ubuntushopdoteu opened this issue Dec 19, 2024 · 2 comments
Open

Email headers missing Reply To and Reply To Name #44642

ubuntushopdoteu opened this issue Dec 19, 2024 · 2 comments

Comments

@ubuntushopdoteu
Copy link

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

@ubuntushopdoteu
Copy link
Author

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

@iamteajazz
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants