Skip to main content

In our org, when users send emails through the standard “Send Email” action with attachments over 25 MB, Salesforce automatically uploads the file and sends a public link instead of attaching the file directly. This behavior raises security and compliance concerns for us.

Is there a way to:

  • Disable the automatic creation of these public Content Delivery links?
  • Implement a custom solution or setting to control this behavior?

I’m looking for best practices, configurations, or development approaches to prevent public links being generated while still allowing large attachments to be sent securely.

Has anyone dealt with this scenario or found workarounds that balance file size limits with security policies? 

     also looking for direct official documenation around this  so far i found these articles    https://help.salesforce.com/s/articleView?id=000385472&type=1  https://help.salesforce.com/s/articleView?id=000384079&type=1    any help is appreciated

4 respuestas
  1. 9 feb, 20:48

    @Jerome Pijpers - This is expected/by design. Salesforce outbound email has a hard 25 MB size limit, so when a user tries to send an attachment larger than that through the standard Send Email action, Salesforce can’t include it as a true attachment and instead uploads it to Files and sends a Content Delivery / public link as the fallback.

    There isn’t a supported setting that forces Salesforce to “attach anyway” beyond the limit. Your options are basically: (1) allow the link fallback but secure it (password + expiration and tighter permissions around public links/content deliveries), or (2) disable/remove the ability to create public links, understanding that emails with oversized attachments will then fail

    because there’s no compliant delivery mechanism in that flow. 

     

    Also, at this moment there is no workaround either for now. This post confirms from 2 years back. If you still want to give a try, reach out to SF support and get it double confirmed. 

    https://trailhead.salesforce.com/trailblazer-community/feed/0D54S00000PeOX1SAN

0/9000