I'm working on a part of a website where I generate PDFs, attach them to an email and send it off. Right now I am not tracking the current sum of the sizes of all the PDFs to be attached to the email, but I suspect at one point that I should.
My question boils down to: What is a good theoretical *MAX_SIZE* that you should go by when managing attachments to emails.
For example, when the sum of the sizes of the PDFs I am generating reaches *MAX_SIZE*, I would add those PDFs to an email and then send it off. Then I would create a new email, add the remaining PDF attachments to it and send it off. Repeat ad nauseam until all PDFs are sent.