mirror of
https://github.com/ClovertaTheTrilobita/SanYeCao-Nonebot.git
synced 2026-04-01 22:04:51 +00:00
fix(email): 自建服务器签名冲突
This commit is contained in:
parent
9f1f75cde8
commit
1f2b489e4b
1 changed files with 1 additions and 0 deletions
|
|
@ -196,6 +196,7 @@ async def send_email_by_server(receiver_email: str, file_path: str):
|
|||
msg = MIMEMultipart()
|
||||
msg["From"] = server_email
|
||||
msg["To"] = receiver_email
|
||||
msg["X-No-AddSig"] = "1"
|
||||
msg["Subject"] = "您的快递已送达"
|
||||
msg.attach(MIMEText(html, "html", "utf-8"))
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue