debug
This commit is contained in:
@@ -168,7 +168,7 @@ class MailStore:
|
|||||||
recipients=','.join(recipients) if isinstance(recipients, list) else recipients,
|
recipients=','.join(recipients) if isinstance(recipients, list) else recipients,
|
||||||
body_text=body_text,
|
body_text=body_text,
|
||||||
body_html=body_html,
|
body_html=body_html,
|
||||||
received_at=datetime.datetime.now()
|
received_at=datetime.now()
|
||||||
)
|
)
|
||||||
|
|
||||||
# 提取验证码和验证链接(如果有)
|
# 提取验证码和验证链接(如果有)
|
||||||
@@ -255,7 +255,7 @@ class MailStore:
|
|||||||
|
|
||||||
if mark_as_read and not email.read:
|
if mark_as_read and not email.read:
|
||||||
email.read = True
|
email.read = True
|
||||||
email.last_read = datetime.datetime.now()
|
email.last_read = datetime.now()
|
||||||
db.commit()
|
db.commit()
|
||||||
|
|
||||||
# 获取附件信息
|
# 获取附件信息
|
||||||
|
|||||||
Reference in New Issue
Block a user