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

FEAT - Support setting "from" field on SMTP emails #289

Closed luehm closed 3 months ago

luehm commented 3 months ago

Avoid duplicated feature requests

Description

Emails sent during user registration have an arbitrary FROM address, which some email servers (mailcow) reject as the SMTP username does not match the message ENVELOPE from address.

Disabling sender checks may allow a compromised service account to be abused / impersonate email addresses.

Propose setting the message.setFrom Spring variable on email send.

CleanShot_2024-08-20_13 41 58@2x

MDeLuise commented 3 months ago

Hi @luehm This task has been completed and will be implemented in the next project release. Thank you for your contribution!

If any problem about this occurs, feel free to leave a comment.