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

Fix email FROM address to ensure it matches SMTP username #290

Merged
merged 1 commit into from
Aug 22, 2024

Conversation

MDeLuise
Copy link
Owner

Hey Plant-it community!

What's new?

Thir PR fixes #289. I've implemented a fix to ensure that the FROM address in our outgoing emails consistently matches the SMTP username. This change prevents issues with certain mail servers, that enforce strict checks on the FROM address and could reject our emails if there's a mismatch.

Why is it important?

By explicitly setting the FROM address to match the SMTP username, we ensure better email deliverability and improve the security of our email-sending process.

How to Use?

No changes are required from the user side. The system will automatically use the correct FROM address when sending emails, ensuring consistency and reliability.



Cheers and happy planting! 🌿🌼

Set the `FROM` address explicitly in the email-sending logic to match the configured `SMTP` username. This resolves issues where emails could be rejected by some mail servers due to a mismatch between the `FROM` address and the SMTP authenticated user.
Copy link

📝 Coverage Report For Server Service

Overall Project 50.4% -0.03% 🟢
Files changed 55.56% 🔴

File Coverage
EmailService.java 7.83% -0.89% 🔴

@MDeLuise MDeLuise merged commit 20106d7 into main Aug 22, 2024
3 checks passed
@MDeLuise MDeLuise deleted the improve-emailfrom branch August 22, 2024 07:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

FEAT - Support setting "from" field on SMTP emails
1 participant