Guide · 5 min read · updated 2026-04-27
Fix "email attachment too large" errors
If you just got a bounce that said 'attachment too large', '552 5.3.4', or 'message size exceeds maximum': here's why, and how to actually send the photos.
The error message changes per provider, but the cause is the same: your email exceeded the per-message size cap. This page explains exactly which limit you hit and the fastest way to send your photos anyway.
Decode the error
| Provider | Error you see | Actual cap |
|---|---|---|
| Gmail | "Your message was not sent because it exceeds Gmail's 25 MB attachment size limit" | 25 MB encoded (~18 MB binary) |
| Outlook.com | "The message you are trying to send exceeded Outlook's size limit" | 20 MB encoded (~14 MB binary) |
| iCloud Mail | "This message could not be sent. The sender's address was rejected by the server because the message is too large" | 20 MB encoded (~14 MB binary). Mail Drop kicks in for Mail.app |
| Yahoo Mail | "Sorry, your message exceeded the maximum size of 25 MB" | 25 MB encoded (~18 MB binary) |
| SMTP relay | 552 5.3.4 Message size exceeds fixed maximum | Server-side cap, often 35 MB encoded |
| Microsoft 365 (corporate) | "The message couldn't be delivered. The size of the message exceeded the maximum size set by the sending or receiving organization" | 33 MB default, configurable up to 150 MB |
Why "under 25 MB" sometimes still bounces
Email attachments are encoded in base64: every 3 bytes of binary become 4 ASCII characters. That's a flat 33 % expansion before MIME headers, which add another few percent. So a 22 MB photo becomes a ~30 MB email after encoding, which exceeds Gmail's 25 MB.
Rule of thumb: divide the advertised limit by 1.37 to get the binary file size you can actually send. Gmail's 25 MB advertised = ~18 MB binary; Outlook's 20 MB = ~14 MB binary.
Method 1: recompress in the browser
The most common case is a few photos slightly over the line. EmailPhotos.com fixes it in seconds:
- Open emailphotos.com.
- Drag the bounced attachments onto the page (or pick from your library).
- The browser compresses each one, balancing quality across the batch so the total fits a 14 MB budget by default: works on every major provider.
- Press Send. The OS share sheet opens with the bundle attached. Pick Mail or Gmail.
Photos never leave your device: compression runs in Web Workers inside your tab. EXIF and GPS metadata are stripped automatically.
Method 2: share via cloud link
Some emails really shouldn't be re-encoded: wedding archives, RAW files going to a printer, anything large you'll re-export later. Replace the attachment with a link instead.
- Gmail web: Compose → Drive icon (📂) → upload → "Insert as attachment". Above 25 MB Gmail forces "Insert as link" and does the upload for you.
- Apple Mail: attachments over 20 MB trigger Mail Drop automatically: file uploads to iCloud, recipients get a 30-day download link.
- Outlook web: attachments over 33 MB get auto-converted to OneDrive share links.
- WeTransfer: 2 GB free, no signup, link expires in 7 days.
Method 3: split the email
For 30+ photos: send two or three smaller emails instead of fighting one big one. EmailPhotos.com warns when a batch can't fit and suggests how to split. Otherwise: compress, attach the first half, send, then compose a second message with the remainder.
Diagnosing rare cases
"Couldn't send: file is too big": but the file is only 5 MB
Likely cause: you've already added other attachments and didn't realise. Check the compose window for hidden attachments or large inline images. Some clients embed your email signature image or logo as an inline attachment.
Recipient's server rejected the message
Some corporate Exchange servers reject anything over 10 MB. The sender side accepts; the receiver side bounces. There's no way around this except shrinking the attachment or using a share link.
"Antivirus removed an attachment"
Not a size error: but worth knowing about. Some corporate filters strip HEIC, .heic, or executable file extensions. Convert HEIC to JPEG (EmailPhotos.com does this automatically) or use a different delivery method.
What size to aim for
- 14 MB binary if you don't know the recipient's provider: works everywhere.
- 22 MB binary if you know they use Gmail, Yahoo, or Proton: leaves headroom under 25 MB.
- 45 MB if you know they use Fastmail or a corporate Microsoft 365 with the default cap.
EmailPhotos.com's default budget is 14 MB for exactly this reason.
Frequently asked
What does 'message size exceeds the maximum' mean?
The total of your email body, headers, and attachments exceeds your provider's per-message limit (Gmail 25 MB, Outlook 20 MB, iCloud 20 MB). The provider rejected the entire message rather than just the offending attachment.
What is SMTP error 552 5.3.4?
It's the standard SMTP code for 'message size exceeds fixed maximum'. Your outgoing mail server (or the recipient's) refused the message because it's bigger than the cap. Compress or use a cloud share link.
Why does my email say 'attachment too large to send' if the file is under 25 MB?
Email encodes attachments as base64 text, which inflates file size by ~37 %. So a 24 MB photo becomes a ~33 MB encoded message: over Gmail's 25 MB. Aim for binary file sizes under ~18 MB for Gmail and under ~14 MB for any provider.
Can I just split the email in two?
Yes: break the photos into two batches and send each as a separate email. EmailPhotos.com surfaces a warning when a batch can't fit and helps you split.
Will resending after compression work?
Almost always. Compress the offending attachments below the budget and try again. The bounce doesn't blacklist you: it just rejects that one oversized message.
Related guides
Email large photos
Three reliable ways to email large photos: compress in your browser, use a cloud share link, or send a manual zip. Comparison + step-by-step.
Compress photos for email
Compress photos to fit a 25 MB email attachment limit, in your browser, without uploading. Works for JPEG, HEIC, PNG, and WebP on every modern phone.
Send multiple photos
Attach 5, 50, or 500 photos to a single email so they actually arrive. The smart way (compress in the browser), the manual way, and provider-specific limits.