DEV Community

Cover image for Email Attachment Too Large? Mail Limits and Compression Strategies
Uglypear Data
Uglypear Data

Posted on • Originally published at uglypear.com

Email Attachment Too Large? Mail Limits and Compression Strategies

Original URL: https://www.uglypear.com/en/blog/email-attachment-compression.html

Can't send email attachments that are too large? This article summarizes attachment size limits for QQ Mail, WeCom, Outlook, and Gmail, detailing 3 compression strategies — file compression, split archives, and cloud storage relay, with a comparison table and real case studies. The key is understanding your email provider's limits and choosing the right strategy for each situation.

1. Comparison of Attachment Size Limits by Email Provider

Different email providers have strict limits on attachment size, and these limits are hard — exceeding by even 1KB means the email won't send. Understanding the limits of the recipient's email provider is the first step in choosing a compression strategy. The table below summarizes the attachment limits of mainstream domestic email providers and office tools.

As the table above shows, WeCom, Outlook, and DingTalk have the strictest limits (20MB), Gmail is 25MB, and QQ and 163 Mail are relatively lenient (50MB). This means attachments sent to enterprise users should ideally be kept under 20MB to be safe. An 80MB PDF report cannot be sent through any mainstream email provider without compression — compression is a necessary step.

Email/Tool Standard Attachment Limit Large Attachment Feature Over-Limit Handling
QQ Mail 50MB Supported, up to 3GB (7-day validity) Auto-convert to large attachment link
WeCom 20MB WeDrive share link Prompt to use WeDrive
Outlook (web) 20MB OneDrive link Auto-upload to OneDrive
Gmail 25MB Google Drive link Auto-upload to Drive
163 Mail 50MB Supported, up to 2GB Prompt to use Netdisk
DingTalk 20MB DingDrive share link Prompt to use DingDrive

2. Detailed Explanation of 3 Email Attachment Compression Strategies

Based on file type and size, there are 3 mainstream strategies for dealing with attachment over-limit issues. Each strategy differs in principle, applicable scenario, and operational difficulty. The table below provides an overall comparison first, followed by detailed explanations.

File compression is the preferred strategy — compressing the file itself before sending both solves the attachment over-limit problem and reduces transfer time and storage consumption. Different file types require different compression strategies: PDF documents mainly rely on embedded image downsampling and font subsetting, images rely on format conversion (PNG to WebP/JPEG) and resolution reduction, and Office documents rely on compressing embedded resources and cleaning up redundancy.

Taking the most common PDF compression as an example, SmartSlim, based on its Rust compression engine, automatically identifies the image types within a PDF and assigns strategies: scanned documents are downsampled to 150DPI and converted to grayscale JPEG (90%+ compression), photos are reduced to 200DPI and converted to color JPEG quality 80 (80% compression), and vector charts are kept as-is with only structural optimization. This content-based assignment works better than uniform parameters — an 80MB scanned contract can be compressed to 6MB, while text and charts remain virtually lossless.

For the complete methodology of file compression, see the Complete Guide to File Compression.

Some files still exceed email limits even after compression — for example, a collection of high-definition images that's still 60MB after compression, or video files that are inherently incompressible. In these cases, use split archive compression: split a large package into multiple smaller packages under the limit, send them in multiple emails, and the recipient downloads all volumes and merges them for extraction.

The volume size should be set to 80% of the email limit to leave a margin. WeCom limits 20MB, so set volumes to 15MB; QQ Mail limits 50MB, so set volumes to 40MB. A 60MB compressed package split into 15MB volumes will produce 4 packages (15+15+15+15), sent in 4 emails. Note that all volumes must use the same format (ZIP or 7Z), and the recipient needs the corresponding extraction tool.

When the file itself is an incompressible format (such as video, or an already-compressed ZIP package), or when the size exceeds 100MB, sending it directly as an attachment is impractical. In this case, use cloud storage relay: upload the file to cloud storage, generate a share link, and only send the link and extraction code in the email. The recipient clicks the link to download the file themselves, unconstrained by email limits.

Common cloud storage services and their limits: Baidu Netdisk single file limit 4GB (free), Alibaba Cloud Drive single file limit 100GB (free), Tencent WeDrive single file limit 1GB (enterprise 100GB), OneDrive single file limit 250GB. For internal enterprise use, enterprise cloud drives (WeDrive/DingDrive/OneDrive for Business) are recommended, as they allow access permission control and provide audit logs.

Strategy Principle Applicable Scenario Expected Compression Rate Operational Difficulty
File compression Downsampling + format conversion + redundancy removal PDF/images/Office documents 70%–92% ★☆☆☆☆
Split archive Split large package into smaller packages Files still over-limit after compression No size reduction, split for sending ★★☆☆☆
Cloud storage relay Upload to cloud and send share link Video/ultra-large data packages No size reduction, link replaces file ★☆☆☆☆

3. Real-World Case: 120MB Project Report Compressed to 18MB for Sending

A consulting firm needed to send a quarterly project report to a client via WeCom. The report was in PDF format, originally 120MB, containing 80 pages of text, 45 on-site project photos, 12 data charts, and 3 pages of scanned signature pages. WeCom's attachment limit is 20MB, and the client's IT policy did not allow the use of external cloud drives, so it had to be sent as a direct attachment.

Document characteristics: 80 pages A4, 45 photos at 300DPI JPEG format (totaling 85MB), 12 data charts in vector PDF format (totaling 15MB), 3 scanned signature pages at 600DPI (totaling 18MB), embedded fonts 2MB.

Result: 18MB, a compression rate of 85%, below WeCom's 20MB limit. The on-site photos showed virtually no difference to the naked eye on screen, the scanned signature pages had clearly legible text and official seals, and the data charts had sharp lines with no loss. The entire process was completed locally, and the report did not pass through any online server, meeting the confidentiality requirements for business documents.

File Type Original Size Compressed Size Compression Rate Quality Impact
Scanned contract PDF 80MB 6MB 92.5% Text clearly legible
Project report PDF (with images) 120MB 18MB 85.0% Virtually no difference for screen reading
Product manual PDF 45MB 8MB 82.2% Slight loss of image detail
Word bid document 50MB 5MB 90.0% Text and charts unaffected
Image collection (PNG) 200MB 30MB 85.0% Needs split archive for sending

4. Attachment Sending Recommendations for Different Scenarios

Different types of files have very different size characteristics and compression potential. The table below provides attachment sending strategy recommendations by common office scenario.

One general principle: Compress first whenever possible (reduces both size and transfer time), use split archives if still over-limit after compression, and use cloud storage for ultra-large incompressible files. Confirm the recipient's email limit first, then decide on a strategy — attachments sent to WeCom users should be kept under 20MB to be safest.

If you need to compare different compression tools for selection, see the File Compression Tool Selection Guide: 7-Dimension Evaluation.

Target Email Attachment Limit Recommended Volume Size Number of Splits for 60MB File
WeCom 20MB 15MB 4 packages
Outlook 20MB 15MB 4 packages
Gmail 25MB 20MB 3 packages
QQ Mail 50MB 40MB 2 packages

5. Frequently Asked Questions

Q1: What to do when an email attachment exceeds the email limit?

Three options: First, use a compression tool to compress the file under the limit (e.g., compress a PDF from 80MB to 6MB). Second, if it can't be compressed enough, use split archive compression to break it into multiple packages under the limit and send them in multiple emails. Third, for ultra-large files, use cloud storage relay — upload to cloud storage and generate a share link, sending only the link in the email. A 120MB project report can first be compressed to 18MB, then split into 2 volumes of 9MB each to fit WeCom's 20MB limit. The key is to first understand the recipient's specific email limit, then choose the corresponding strategy.

Q2: Will PDF quality degrade after compression for email?

With proper compression, the difference is virtually imperceptible to the naked eye. 150DPI is sufficient for screen reading, and scanned documents reduced to 150DPI and converted to grayscale JPEG can be compressed by over 90% while keeping text clearly legible. Photo content reduced to 200DPI with JPEG quality 80 shows virtually no difference on screen or A4 print. The key is to assign strategies by content type — keep text pages as vector, downsample photo pages, and grayscale scan pages — to avoid blurriness from a one-size-fits-all approach. SmartSlim automatically identifies PDF content types and assigns the optimal strategy.

Q3: What are the attachment limits for WeCom and QQ Mail?

WeCom has a single-file attachment limit of 20MB, suitable for sending compressed documents. QQ Mail has a standard attachment limit of 50MB, and its large attachment feature supports files up to 3GB but requires the recipient to download from the server. Outlook limits 20MB, and Gmail limits 25MB. Before sending, confirm the recipient's email limit, then decide whether to use direct attachment or cloud storage relay. For cross-enterprise sending, it's recommended to prepare attachments according to the strictest limit (20MB).

Q4: How does the recipient extract a split archive?

Place all volume packages in the same folder, right-click the first package (usually with a .part1 or .zip.001 suffix) and select extract, and the tool will automatically recognize and merge the remaining volumes. Make sure all volumes are fully downloaded — missing any one will prevent extraction. We recommend using 7-Zip or SmartSlim, which are compatible with both ZIP and 7Z split formats. Do not rename the volume packages, as this may cause recognition failure.

Step Operation Key Parameters Size Change
1 On-site photo compression 300DPI→150DPI, JPEG q80 120→35MB
2 Scanned signature page compression 600DPI→150DPI, grayscale JPEG q72 35→19MB
3 Data chart optimization Vector preserved, remove redundant objects 19→18.5MB
4 Font subsetting + repackaging Keep only used characters 18.5→18MB

6. Summary

Email attachments can't be sent because the file size exceeds the email provider's hard limit. The 3 strategies have clear logic: File compression is the first choice (downsampling + format conversion + redundancy removal, 70%–92% compression rate), split archive compression is the backup (split packages for sending when still over-limit after compression), and cloud storage relay is the fallback (send links for ultra-large incompressible files). A 120MB project report can be reliably compressed to 18MB using the "compress first, then send" strategy, fitting all mainstream email providers.

Remember three points: First, confirm the recipient's email limit before choosing a strategy — preparing for 20MB is safest for enterprise users. Second, prioritize compressing the file itself (reduces both size and transfer time), and use split archives or cloud storage only when compression isn't enough. Third, use local compression tools for sensitive business documents — don't upload them to online compression websites. Choose the right strategy, and even the largest email attachments can be sent.

Scenario Typical File Original Size Recommended Strategy
Business contract signing Scanned PDF 20–80MB File compression: scan pages downsampled + grayscale JPEG, 90%+ compression
Project report delivery Image/text PDF/Word 50–200MB File compression: image downsampling + font subsetting, 80%–90% compression
Design draft review PSD/AI/PNG 100–500MB File compression + split archive: export JPEG then compress, split for sending
Video material delivery MP4/MOV 200MB–2GB Cloud storage relay: compress video then upload to cloud and send link
Data report sending Excel/PDF 5–30MB File compression: Excel redundancy cleanup + PDF optimization
Bid document submission Word/PDF 30–80MB File compression: image compression + font subsetting + redundancy cleanup

FAQ

Q: What are the attachment size limits for major email providers?
A: QQ Mail: 50MB for free, 2GB for VIP. WeCom (Enterprise WeChat): 100MB. Outlook/Hotmail: 34MB. Gmail: 25MB. 163 Mail: 50MB for free, 100MB for VIP. If your file exceeds these limits, use compression first, then split archives, or switch to cloud storage relay. SmartSlim can compress files to fit within provider limits.

Q: How to send files over 100MB via email?
A: Files over 100MB cannot be sent directly via email (most providers limit to 25-50MB). Three solutions: 1) Compress heavily — use 7Z with ultra compression to minimize size. 2) Split archive — use volume splitting in WinRAR/7-Zip (e.g., 20MB volumes). 3) Cloud relay — upload to cloud storage (Baidu Netdisk, WeTransfer, Google Drive) and share the link. SmartSlim integrates with cloud storage services for seamless large-file sharing.

Q: What is the best compression format for email attachments?
A: ZIP is the most compatible format for email attachments — all recipients can open it without additional software. If the recipient has 7-Zip or WinRAR, 7Z offers 30-50% better compression. For maximum compression, use 7Z with LZMA2 algorithm. For encrypted files, use ZIP with AES-256 encryption (supported by Windows, macOS, and major archivers).

Q: How to split a large file into smaller volumes for email?
A: Use WinRAR or 7-Zip's volume splitting feature: in WinRAR, select 'Split to volumes' and set size (e.g., 20MB). In 7-Zip, use '-v20m' parameter. The tool creates multiple numbered files (.part1.rar, .part2.rar, etc.). The recipient needs all parts in the same folder to extract. SmartSlim supports automatic volume splitting with customizable size limits.

Summary

The key to email attachment too large? mail... lies in identifying the sources of bloat and handling them accordingly. Choose the right compression strategy based on your scenario, prioritizing the largest contributors. SmartSlim can handle all compression steps in one click.

Related:

Top comments (0)