Am 16.06.23 um 01:10 schrieb Mark Sapiro:
On 6/15/23 14:03, Jens Günther wrote:
Am 15.06.23 um 00:34 schrieb Mark Sapiro:
- Then I tried settings_local.py with: EMAIL_CONFIRMATION_FROM = 'myaddress@something.org'
Sorry, this is actually a different setting. There are actually two more that control this. These are DEFAULT_FROM_EMAIL <https://docs.djangoproject.com/en/4.2/ref/settings/#default-from-email> and SERVER_EMAIL <https://docs.djangoproject.com/en/4.2/ref/settings/#server-email>. Note that the defaults mentioned in the Django docs are probably overridden in your settings.py, but you should set them in settings_local.py
Thank you Mark. I changed now DEFAULT_FROM_EMAIL to my address, restartet container and it works.
Also it works if I delete the EMAIL_CONFIRMATION_FROM-line again and do not put the SERVER_EMAIL, at least for the password-reset. Can you tell the diffenrence between the 3? Would you recommend to set all 3 to my admin-mailaddress?