This commit is contained in:
huangzhenpc
2025-03-05 14:25:18 +08:00
parent d52ad90936
commit 4b7fbb6318

View File

@@ -87,8 +87,10 @@ def create_app():
# 使用新函数获取邮件数据
email = get_email_by_id(message_id)
if not email:
logger.warning(f"No email found for message_id: {message_id}")
return "邮件不存在", 404
logger.debug(f"Retrieved email: {email}")
return render_template('email_detail.html', email=email)
except Exception as e: