Sharing, Links & Measurement

Email Attachment Limit

Definition

Every mail system sets a maximum message size, and attachments count towards it alongside the body and the headers. Gmail's limit is 25 MB for a message you send; Outlook.com and many Microsoft 365 accounts default to 20 MB, and an administrator can set it lower. The catch is that attachments do not travel as raw bytes — they are base64 encoded for transport, which inflates them by roughly a third. A 20 MB file therefore reaches the limit check at about 27 MB and is refused by a 25 MB cap, which surprises people every day. Both the sending and the receiving server apply their own figure, so the smaller of the two is the one that decides.

Why It Matters

The failure arrives late. You spend ten minutes on the covering note, press send, and get a bounce — or get nothing at all, because some gateways drop oversize mail silently and the recipient simply never replies. Do the arithmetic once: a 19 MB video becomes about 25.3 MB after encoding, which clears a 30 MB gateway and fails a 25 MB one. A link sidesteps the whole calculation, because an address is a few dozen bytes no matter how large the file behind it happens to be. It also means one copy rather than forty.

How It Works

The mail client packs the message into MIME parts: the text in one part, each attachment in another with its own Content-Type and a Content-Transfer-Encoding of base64. Base64 represents three bytes as four ASCII characters, so the encoded form is about four thirds of the original, plus line breaks. The outgoing SMTP server compares the total against its configured maximum and refuses anything larger, typically with a 552 response. Receiving servers repeat the check independently, and corporate gateways often sit well below the consumer figures. Providers paper over the problem with drive integrations that quietly swap the attachment for a link, which solves the size question and hands you an access question instead.

Real-World Example

A trainer needs to get a 60 MB workbook bundle — a PDF, a spreadsheet and two short videos — to forty attendees. Every mail route refuses it. She zips the bundle, publishes it on 99helpers at autumn-workbook.99helpers.site, and sends a one-line email with the address. The message is three kilobytes, it reaches all forty inboxes, and the download count tells her that thirty-eight people actually took it.

Common Mistakes

  • Treating the stated cap as the size of file you can send — encoding overhead means a 25 MB limit passes roughly 18 MB of actual file
  • Testing only against your own provider — the recipient's gateway may cap at 10 MB, and their bounce reaches you hours later, if at all
  • Zipping an already compressed file to squeeze under the limit — a folder of JPEGs or an MP4 barely shrinks, so you have added a step for nothing

Related Terms

Put a file online in seconds

Drop in a document, an image, a page or a whole static website and share the link — free, with no build step and no server to set up.

Host a file free →