dosubot[bot] commented on issue #31616: URL: https://github.com/apache/superset/issues/31616#issuecomment-2562097676
<!-- Answer --> The issue you're encountering with the "email keeps spinning" and "invalid email" prompts in Superset's alert configuration might be related to the email validation rules. Superset uses a function called `checkEmailFormat` to validate email addresses. This function checks if the email addresses in the `recipients`, `cc`, and `bcc` fields are correctly formatted according to a regular expression <sup>[[1]](https://github.com/apache/superset/blob/master/superset-frontend/src/features/alerts/AlertReportModal.tsx)</sup>. Here are a few steps to troubleshoot and resolve the issue: 1. **Check Email Format**: Ensure that all email addresses entered in the alert configuration are correctly formatted. They should not contain any spaces or invalid characters and should be separated by commas or semicolons if there are multiple addresses. 2. **Review Validation Logic**: The validation logic in Superset might be strict, so double-check that the email addresses conform to standard formats (e.g., `[email protected]`). 3. **Inspect Console for Errors**: Use the browser's developer tools to check for any JavaScript errors in the console that might provide more insight into why the email validation is failing. 4. **Review Superset Logs**: Check the Superset logs for any error messages related to email validation or configuration issues. If these steps do not resolve the issue, you might need to review the specific implementation of the `checkEmailFormat` function in your Superset version 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/76a6f6d9-1b7c-4098-8779-38379573a477?feedback_type=great_response) | [Irrelevant Answer](https://app.dosu.dev/response-feedback/76a6f6d9-1b7c-4098-8779-38379573a477?feedback_type=irrelevant_answer) | [Incorrect Sources](https://app.dosu.dev/response-feedback/76a6f6d9-1b7c-4098-8779-38379573a477?feedback_type=incorrect_sources) | [Too Verbose](https://app.dosu.dev/response-feedback/76a6f6d9-1b7c-4098-8779-38379573a477?feedback_type=too_verbose) | [Hallucination](https://app.dosu.dev/response-feedback/76a6f6d9-1b7c-4098-8779-38379573a477?feedback_type=hallucination) | [Other](https://app.dosu.dev/response-feedback/76a6f6d9-1b7c-4098-8779-38379573a477?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]
