You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I confirm that I am using English to submit this report (我已阅读并同意 Language Policy).
[FOR CHINESE USERS] 请务必使用英文提交 Issue,否则会被关闭。谢谢!:)
Please do not modify this template :) and fill in all the required fields.
1. Is this request related to a challenge you're experiencing? Tell me about your story.
I configured the email address in env but it did not take effect. What can I not see through the log
2. Additional context or comments
import logging
import time
import click
from celery import shared_task # type: ignore
from flask import render_template
from extensions.ext_mail import mail
@shared_task(queue="mail")
def send_reset_password_mail_task(language: str, to: str, code: str):
"""
Async Send reset password mail
:param language: Language in which the email should be sent (e.g., 'en', 'zh')
:param to: Recipient email address
:param code: Reset password code
"""
if not mail.is_inited():
return
...
3. Can you help us with this feature?
I am interested in contributing to this feature.
The text was updated successfully, but these errors were encountered:
milo-xiaomeng
changed the title
Prints logs when messages are not initialized. Instead of doing nothing
Prints logs when mail are not initialized. Instead of doing nothing
Feb 20, 2025
Self Checks
1. Is this request related to a challenge you're experiencing? Tell me about your story.
I configured the email address in env but it did not take effect. What can I not see through the log
2. Additional context or comments
3. Can you help us with this feature?
The text was updated successfully, but these errors were encountered: