small-flowers commented on issue #31616:
URL: https://github.com/apache/superset/issues/31616#issuecomment-2562095362

   > 我找到了一个类似的未解决的讨论,关于 Superset 中“添加警报”表单的问题,这可能与您的问题有关。您可以在这里查看:[升级到 4.0.1 
版时添加警报表单出错](https://github.com/apache/superset/discussions/28611) 
[[1]](https://github.com/apache/superset/discussions/28611)。
   > 
   > 要解决使用 Chrome 在 Superset 
的最新开发版本中配置警报时出现“电子邮件不断旋转”的问题,请确保在您的中正确设置以下配置`superset_config.py`:
   > 
   > 1. **启用功能标志**:确保`ALERT_REPORTS`功能标志设置为`True`。
   >    ```python
   >    FEATURE_FLAGS = {
   >        "ALERT_REPORTS": True
   >    }
   >    ```
   > 2. **配置 SMTP 设置**:确保您的 SMTP 设置已正确配置以用于电子邮件通知。
   >    ```python
   >    SMTP_HOST = 'your_smtp_host'
   >    SMTP_STARTTLS = True
   >    SMTP_SSL = False
   >    SMTP_USER = 'your_smtp_user'
   >    SMTP_PORT = 587
   >    SMTP_PASSWORD = 'your_smtp_password'
   >    SMTP_MAIL_FROM = '[email protected]'
   >    ```
   > 3. **禁用试运行模式**:设置`ALERT_REPORTS_NOTIFICATION_DRY_RUN`为`False`开始接收电子邮件通知。
   >    ```python
   >    ALERT_REPORTS_NOTIFICATION_DRY_RUN = False
   >    ```
   > 
   > [这些配置应该有助于解决 Superset 
[2]](https://github.com/apache/superset/blob/master/docs/docs/configuration/alerts-reports.mdx)中的电子邮件通知功能的问题。
   > 
   > _[要继续与Dosu](https://dosu.dev)交谈,请提及@dosu。_
   > 
   > 帮助 Dosu 
学习!给它反馈:[很好的回应](https://app.dosu.dev/response-feedback/02248b36-2e68-4740-a008-06dcb62ee782?feedback_type=great_response)|[不相关的答案](https://app.dosu.dev/response-feedback/02248b36-2e68-4740-a008-06dcb62ee782?feedback_type=irrelevant_answer)|[不正确的来源](https://app.dosu.dev/response-feedback/02248b36-2e68-4740-a008-06dcb62ee782?feedback_type=incorrect_sources)|[太冗长](https://app.dosu.dev/response-feedback/02248b36-2e68-4740-a008-06dcb62ee782?feedback_type=too_verbose)|[幻觉](https://app.dosu.dev/response-feedback/02248b36-2e68-4740-a008-06dcb62ee782?feedback_type=hallucination)|[其他](https://app.dosu.dev/response-feedback/02248b36-2e68-4740-a008-06dcb62ee782?feedback_type=other)
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to