We have a CRM application and users can send emails from it. We want to show a warning message to user if the total size of the attachments they are attaching increases more than 20 MB.
For example, if they attach two files of 10 MB then the total becomes 20 MB and if they try to attach more files, I want to show them the error message or want to stop them some how. I tried setting email attach size to 20 MB under the System Setting but it didn't work. It stops the user from attaching file bigger than 20 MB, but user can attach several files of size less than 20 MB.
Is there a way to show the message to user that total attach size should be less than 20 MB?
Thank you so much for your help.
S
*This post is locked for comments