I am using Apex to send emails with attachments to users (with SingleEmailMessage to be more precisely).
From some MB (I Don't sure exactly the size - because it changed from time to time when I try to check it) It converts the attaches files to .html files for downloading and store them in some CDN for a temporary time I guess.
I searched in Google but I confused between outbound and inbound and the email servers.
Can anyone please share with me the doc or have an answer for the size that I can send an outbound email from apex including attachments before it's converted to Html Links?
A little search in Google shows that people wrote that it limited for 3 - 5mb before it converts the attached file to .html links - But I tried it with 17 MB and it worked. (22 MB was converted to Html files).