MDeLuise / plant-it

πŸͺ΄ Self-hosted, open source gardening companion app
https://plant-it.org
GNU General Public License v3.0
688 stars 25 forks source link

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

Closed MDeLuise closed 3 months ago

MDeLuise commented 3 months ago

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! 🌿🌼

github-actions[bot] commented 3 months ago

πŸ“ Coverage Report For Server Service

Overall Project 50.4% -0.03% 🟒
Files changed 55.56% πŸ”΄


File Coverage
EmailService.java 7.83% -0.89% πŸ”΄