[CI] Fix ASCII codes. (#1647)

Signed-off-by: Alicia <115451386+congw729@users.noreply.github.com>
This commit is contained in:
Alicia authored and GitHub committed 2026-03-04 14:39:53 +08:00
1 parent 35bd3ff7d2
commit 29eecc2da8
1 file changed
+2 -1
+2 -1
View File
@@ -13,6 +13,7 @@ import logging
import os
import smtplib
import sys
from email.header import Header
from email.mime.application import MIMEApplication
from email.mime.multipart import MIMEMultipart
from email.mime.text import MIMEText
@@ -123,7 +124,7 @@ def _send_mail(
subject = _build_subject(prefix=prefix, date_str=date_str)
msg = MIMEMultipart()
msg["Subject"] = subject
msg["Subject"] = Header(subject, "utf-8")
msg["From"] = sender
msg["To"] = ", ".join(recipients)
msg.attach(MIMEText(body, "plain", "utf-8"))