gfg
This commit is contained in:
parent
da36eaed0c
commit
8b2838f067
3 changed files with 6 additions and 6 deletions
|
@ -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)
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue