GitHub user dosubot[bot] added a comment to the discussion: Superset Issue with Alerts
<!-- Answer --> Superset does not enforce its own attachment size limit, but most email servers (like Gmail or Outlook) will reject attachments over 25 MB. If your report exceeds this, the email will fail to send and you'll see an error in the logs—there’s no automatic compression or fallback in Superset 6.0.0 for large attachments ([source](https://github.com/apache/superset/blob/master/superset/reports/notifications/email.py), [source](https://github.com/apache/superset/blob/master/superset/utils/core.py)). PDF compression for scheduled reports was added in a later version (after 6.0.0), so you can’t enable it via config in your current setup ([source](https://github.com/apache/superset/pull/34096)). If you need to send large reports, you’ll need to manually compress the PDF (using external tools) or consider sharing the file via a link to external storage. <!-- Dosu Comment Footer --> *To reply, just mention [@dosu](https://go.dosu.dev/dosubot).* --- <sup>How did I do? [Good](https://app.dosu.dev/response-feedback/d8ca0465-b20c-4d9f-be91-004ffed054c3?feedback_type=great_response) | [Irrelevant](https://app.dosu.dev/response-feedback/d8ca0465-b20c-4d9f-be91-004ffed054c3?feedback_type=irrelevant_answer) | [Incorrect](https://app.dosu.dev/response-feedback/d8ca0465-b20c-4d9f-be91-004ffed054c3?feedback_type=incorrect_sources) | [Verbose](https://app.dosu.dev/response-feedback/d8ca0465-b20c-4d9f-be91-004ffed054c3?feedback_type=too_verbose) | [Hallucination](https://app.dosu.dev/response-feedback/d8ca0465-b20c-4d9f-be91-004ffed054c3?feedback_type=hallucination) | [Report 🐛](https://app.dosu.dev/response-feedback/d8ca0465-b20c-4d9f-be91-004ffed054c3?feedback_type=bug_report) | [Other](https://app.dosu.dev/response-feedback/d8ca0465-b20c-4d9f-be91-004ffed054c3?feedback_type=other)</sup> [](https://app.dosu.dev/a28d3c7e-a9d3-459e-9fb6-3a6f9ff4f357/ask?utm_source=github) [](https://cursor.com/link/prompt?text=Superset%20does%20not%20enforce%20its%20own%20attachment%20size%20limit%2C%20but%20most%20email%20servers%20%28like%20Gmail%20or%20Outlook%29%20will%20reject%20attachments%20over%2025%20MB.%20If%20your%20report%20exceeds%20this%2C%20the%20email%20will%20fail%20to%20send%20and%20you%27ll%20see%20an%20error%20in%20the%20logs%E2%80%94there%E2%80%99s%20no%20automatic%20compression%20or%20fallback%20in%20Superset%206.0.0%20for%20large%20attachments%20%28%5Bsource%5D%28https%3A//github.com/apache/superset/blob/master/superset/reports/notifications/email.py%29%2C%20%5Bsource%5D%28https%3A//github.com/apache/superset/blob/master/superset/utils/core.py%29%29.%20%0A%0APDF%20compression%20for%20scheduled%20reports%20was%20added%20in%20a%20later%20version%20%28af ter%206.0.0%29%2C%20so%20you%20can%E2%80%99t%20enable%20it%20via%20config%20in%20your%20current%20setup%20%28%5Bsource%5D%28https%3A//github.com/apache/superset/pull/34096%29%29.%20If%20you%20need%20to%20send%20large%20reports%2C%20you%E2%80%99ll%20need%20to%20manually%20compress%20the%20PDF%20%28using%20external%20tools%29%20or%20consider%20sharing%20the%20file%20via%20a%20link%20to%20external%20storage.) [](https://go.dosu.dev/discord-bot) [](https://twitter.com/intent/tweet?text=%40dosu_ai%20helped%20me%20solve%20this%20issue!&url=https%3A//github.com/apache/superset/discussions/37549) GitHub link: https://github.com/apache/superset/discussions/37549#discussioncomment-15639793 ---- This is an automatically sent email for [email protected]. To unsubscribe, please send an email to: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
