This commit is contained in:
hailin 2025-07-22 10:09:50 +08:00
parent 572ef7e01a
commit eed3964dee
1 changed files with 2 additions and 2 deletions

View File

@ -109,9 +109,9 @@ def send_email(key, to_address, subject, body_template, recipient_name,
# 构造 MIME 邮件
msg = MIMEMultipart()
if language == "chinese":
msg['From'] = formataddr(("深圳果冻人工智能", config['email user'].strip()))
msg['From'] = formataddr(("果冻人工智能", config['email user'].strip()))
else:
msg['From'] = formataddr(("Jelly Drops LLC Sales Team", config['email user'].strip()))
msg['From'] = formataddr(("Jelly Drops LLC", config['email user'].strip()))
msg['To'] = to_address
msg['Subject'] = subject