PDF Won't Attach to Email: Causes and Fixes
An attachment is encoded as text and grows by about a third, so under a 25 MB limit only a file of around 18 MB passes. There are two limits, yours and the recipient's server, and the smaller one applies. Compression solves most cases; splitting handles the rest.
PDF won't attach to email: causes and fixes
The situation looks simple: the file is smaller than the stated limit, yet the message won't go out. Or it goes out but never reaches the recipient. The cause is almost always one of two things that mail services don't tell you about: an attachment weighs more inside a message than it does on disk, and there is more than one limit.
A 20 MB file is almost a 27 MB message
Email is a text protocol. A binary file can't be sent through it directly, so the attachment is re-encoded as text: every three bytes of the original become four characters. That adds exactly a third, and message headers and line breaks come on top.
A handy rule: multiply the file size by 1.37 to get the approximate size of the message.
| File on disk | Message size | Fits an email cap of 25 MB? |
|---|---|---|
| 10 MB | about 13.7 MB | passes |
| 15 MB | about 20.5 MB | passes |
| 18 MB | about 24.7 MB | borderline |
| 20 MB | about 27.4 MB | fails |
The practical conclusion: under a 25 MB limit, a file of up to about 18 MB goes through reliably. Under a 20 MB limit, up to about 14 MB.
This encoding is not a quirk of any one provider; it is a property of the protocol itself. The "send the result by email" option built into our service works exactly the same way: the file is encoded the same way, and its attachment limit is set separately, so check the figure shown in the service itself.
There are two limits, and the smaller one wins
This is the second source of confusion. Your mail provider limits the outgoing message, while the recipient's server limits the incoming one, and the two numbers are unrelated.
Personal mail services hold the line at around 20 to 25 MB. Corporate servers are configured by administrators, and anything goes there: ten megabytes, five, sometimes less. Organizations that handle a lot of document flow often cut attachments on purpose to take load off their storage.
This case has a telltale sign. The message leaves your Sent folder without an error, and a few minutes later a bounce arrives from a foreign server. It almost always states both the reason and the exact limit of the receiving side. Read that message in full: it is the only thing that tells you the other side's limit.
If nobody has told you the requirements, a sensible target is ten megabytes. That value passes almost everywhere.
How to fit under the limit
1. Check the actual file size in its properties instead of eyeballing it. 2. Multiply by 1.37 and compare with your mail provider's limit. 3. If it doesn't fit, open Compress PDF and compress the document. 4. Check the new size: compression with default settings usually removes a noticeable share of a scan's weight and almost nothing from text documents. 5. If the file is still too big after compression, divide it with Split PDF and send it in parts. 6. Send the message to yourself before sending it to the recipient, so you see a bounce before they do.
What to do when compression doesn't help
Compression is powerless in one specific case: the file is already optimal. That happens with documents exported straight from an editor and with files that have already been compressed.
In that case the service honestly returns the original file and says so in a separate message: none of the compression passes produced a result smaller than the original. That is not a failure but information. The guarantee here is simple: the result is never heavier than what you uploaded.
That leaves three paths, and they are not equal.
Split the document into parts. It always works, but the recipient gets several messages and has to put them together themselves. Name the parts so that the order is readable: part 1 of 3, part 2 of 3.
Remove what isn't needed. If the file contains pages the recipient doesn't need, Remove pages takes off their whole weight, not just part of it. This is often more effective than any compression.
Remove the colour. A greyscale scan weighs about half as much as a colour one, because three colour channels are replaced by a single brightness channel. The PDF to Grayscale tool does exactly that. Note that it redraws the pages as images, so the text layer disappears: for a document the recipient will read by eye that doesn't matter; for a document that will be searched, it does.
A link instead of an attachment: when it's appropriate
When a message exceeds the limit, large mail services offer to replace the attachment with a link to the cloud. The temptation to agree is strong, but this solution has a price worth thinking about in advance.
A link lives by its own rules. Access rights are configured separately, and by default they are often open to anyone who has the link. The file stays available after the message has been read, and it stays in your cloud until you delete it. A recipient who forwards the message passes the access along with it.
For a working document, a contract or a set of personal data this is usually unacceptable, and the right path is to fit within the limit rather than get around it. For a draft, a presentation or a set of photos, a link is more convenient than an attachment and causes no problems.
Also remember that some organizations block external links to cloud storage at the same gateway where they cut attachments. In that case the link will fail exactly as the file did.
What is often mistaken for a limit but isn't
Some refusals look like a size problem but have another cause.
A file with active content inside. A PDF can carry scripts and embedded files, and mail gateways strip such documents out entirely or replace them with a placeholder. Size has nothing to do with it. Rebuilding the document through any processing usually settles the matter, because the result is assembled anew.
An extension that doesn't match the content. If the file is called `.pdf` but contains an archive or an image, some mail filters react to the mismatch between the file's signature and its name.
The total size of the message, not of a single attachment. Five files of four megabytes each make twenty megabytes before encoding and about twenty-seven after. The limit is counted for the whole message, so a batch of attachments should either be combined into one PDF with Merge PDF or spread across several messages.
What to check before sending
There is a trick that saves correspondence. Send the message to yourself first, putting your second address on a different mail service in copy.
In a minute you will see three things: whether the message passed your outgoing limit, whether it reached a foreign server, and what the attachment looks like on the recipient's side. The last one is not a trifle: some gateways rename attachments or zip them, and the addressee receives something other than what you sent.
Author: ihatepdf team
Why does an email with a 20 MB file fail a 25 MB limit?
An attachment can't be sent as is: it is re-encoded as text, and its size grows by about a third. A 20 MB file becomes a message of around 27 MB, and the limit kicks in. The safe ceiling for a 25 MB limit is about 18 MB of actual file.
The file went out but never reached the recipient. Why?
The recipient's server has a limit too, and it is often lower than yours. In corporate mail, 10 MB is common. The bounce message comes from the other server and usually contains both the reason and its own limit.
What size should I compress to if no requirements were given?
For email, aim for 10 MB. That value passes through personal mail services, most corporate servers and upload forms.
Do I need an account?
No, no registration is required for basic use.
How long are files stored?
Files are used only for the operation you choose and are deleted automatically when the retention period expires. We do not use uploaded documents to train AI models.