This commit is contained in:
parent
572ef7e01a
commit
eed3964dee
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue