dosubot[bot] commented on issue #31616: URL: https://github.com/apache/superset/issues/31616#issuecomment-2852556847
<!-- Answer --> The issue with the "email keeps spinning" and "invalid email" prompts in Superset's alert configuration is likely related to the email validation process. Superset uses the `checkEmailFormat` function to validate email addresses in the `recipients`, `cc`, and `bcc` fields. This function ensures that the email addresses match a specific regular expression pattern <sup>[[1]](https://github.com/apache/superset/blob/master/superset-frontend/src/features/alerts/AlertReportModal.tsx)</sup>. To resolve this issue, consider the following steps: 1. **Ensure Correct Email Format**: Verify that all email addresses are correctly formatted. They should follow the standard email format (e.g., `[email protected]`) and be free of spaces or invalid characters. If there are multiple addresses, separate them with commas or semicolons. 2. **Check for JavaScript Errors**: Use your browser's developer tools to inspect the console for any JavaScript errors that might indicate why the email validation is failing. 3. **Review Superset Logs**: Look at the Superset logs for any error messages related to email validation or configuration issues. If these steps do not resolve the issue, you may need to examine the specific implementation of the `checkEmailFormat` function in your version of Superset to ensure it aligns with the expected email formats. <!-- Dosu Comment Footer --> *To continue talking to [Dosu](https://dosu.dev), mention @dosu.* --- <sup>Help Dosu learn! Give it feedback: [Great Response](https://app.dosu.dev/response-feedback/d92bf14c-13d1-44e3-bb9d-f7c59625a952?feedback_type=great_response) | [Irrelevant Answer](https://app.dosu.dev/response-feedback/d92bf14c-13d1-44e3-bb9d-f7c59625a952?feedback_type=irrelevant_answer) | [Incorrect Sources](https://app.dosu.dev/response-feedback/d92bf14c-13d1-44e3-bb9d-f7c59625a952?feedback_type=incorrect_sources) | [Too Verbose](https://app.dosu.dev/response-feedback/d92bf14c-13d1-44e3-bb9d-f7c59625a952?feedback_type=too_verbose) | [Hallucination](https://app.dosu.dev/response-feedback/d92bf14c-13d1-44e3-bb9d-f7c59625a952?feedback_type=hallucination) | [Bug Report](https://app.dosu.dev/response-feedback/d92bf14c-13d1-44e3-bb9d-f7c59625a952?feedback_type=bug_report) | [Other](https://app.dosu.dev/response-feedback/d92bf14c-13d1-44e3-bb9d-f7c59625a952?feedback_type=other)</sup> -- 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]
