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