mirror of
https://github.com/nelsbrock/NateMan.git
synced 2026-08-14 21:36:49 +02:00
To-Header zu E-Mail-Versand hinzugefügt
This commit is contained in:
@@ -65,6 +65,7 @@ def _send_mail(name: str, address: str, subject: str, content: str, content_type
|
||||
|
||||
msg = MIMEText(content, content_type, content_charset)
|
||||
msg["From"] = f"NateMan <{sender_address}>"
|
||||
msg["To"] = f"{name} <{address}>"
|
||||
msg["Subject"] = subject
|
||||
|
||||
smtp_param = smtp is not None
|
||||
|
||||
Reference in New Issue
Block a user