How to budget for a PDF attachment when the mail server limits the whole message

Check whether the limit applies to uploaded files or to the encoded email. Base64 represents three input bytes with four characters, before line breaks and message headers.

An 18 MB document can require about 24 MB of encoded body before overhead. Leave headroom for other attachments and the message itself. For a hard limit, verify the receiving service’s stated rule and test a single representative attachment.

If the recipient allows several emails, identify the part number in each subject and include the complete part count. This gives the receiver a way to tell a missing message from a short final attachment.

Related tools

PDF knowledge library