digitalfabrik / opendrift-leeway-webgui

OpenDrift Leeway simulations for Search and Rescue operations (experimental!)
https://leeway.tuerantuer.org/
Apache License 2.0
12 stars 3 forks source link

Use `DEFAULT_FROM_EMAIL` when sending mails #53

Closed timobrembeck closed 1 year ago

timobrembeck commented 1 year ago

The EMAIL_HOST_USER is the username when logging into the SMTP server and is not necessarily an email address.

The docs say:

from_email: The sender’s address. Both fred@example.com and "Fred" fred@example.com forms are legal. If omitted, the DEFAULT_FROM_EMAIL setting is used.

And this value is set to SERVER_EMAIL in the settings file: https://github.com/digitalfabrik/leeway/blob/b8858246a469f7cde8571ed65ced7946e67ee04f/opendrift_leeway_webgui/core/settings.py#L209