This commit is contained in:
Aevann1 2021-10-03 22:41:19 +02:00
parent da36eaed0c
commit 8b2838f067
3 changed files with 6 additions and 6 deletions

View file

@ -16,7 +16,7 @@ name = environ.get("SITE_NAME").strip()
def send_mail(to_address, subject, html):
msg = Message(html=html, subject=subject, sender="rdrama@rdrama.net", recipients=[to_address])
msg = Message(html=html, subject=subject, sender=f"{name}@{site}", recipients=[to_address])
mail.send(msg)