be Smart.
be Secure.
Phone: 800-441-6612

Raw vs. Encoded Email Message Size — What’s the Difference?

We are often asked about why our email message size limits are based on the “encoded message size” and not the “raw message size”.   To answer this question, let’s first understand what the difference is between these two concepts.

Raw Message Size

An email message is generally composed of:

  • The message content
  • Some file attachments
  • “Metadata” — who its going to, who its from, what the subject is, etc.

The raw message size is the sum of the file sizes of all of the attachments, plus the size of your message content.

Consider a paragraph of about 150 words with 2 attached files that are each 1 megabyte (MB) in size.  The “raw size” would be 2 MB plus the size needed for the 150 words (which is probably around 0.001 MB).

Encoded Message Size

The “encoded message size” is the size of the resulting email message with all of the attachments added and encoded using MIME.  This encoded size is the actual size of the message as it travels over the Internet and is always larger than the raw size because of the MIME overhead and because binary attachments are generally encoded using base64 encoding.  Base64-encoded files are usually about 137% the size of the original files.  In the example above, the encoded message would probably be in the neighborhood of 2.6MB in size.

Additionally, the encoded message contains all of the metadata about the message — and this information grows as the message travels from the sender to the recipient.

Why? Because each email server adds information to the metadata (the header of the message) that indicates what servers were passed through and documents anything that the server did to the message (such as scanning it for viruses or spam).

So, what encoded size can you expect your messages to be?

So, overall, you can expect that your large encoded messages are generally at least 33% larger than the size of the original files.  The size of small encoded messages relative to their raw counterparts can vary widely — but will fall far short of any realistic size limits.

Then why do servers limit messages based on encoded size?

The encoded size is the size that email servers see when transporting email messages across the Internet, so this is the natural size for the server to place limits on.  For the server to place limits on the “raw size” instead, the email servers would first have to accept and decode every large message they come across (or at least ones within a certain size range) to determine if the raw size is acceptable. While a limit on raw sizes may be conceptually easier for the end user, it is so much processing for email servers that it is not worth the small gain in usability by using a raw limit.  In fact, it’s easier to just make the encoded limit larger so that larger raw messages can make it through!

LuxSci has recently increased its encoded message limit from 50MB to 200MB on its servers because folks are sending larger and larger messages these days.  LuxSci’s WebMail system limits the size of sent messages to 70MB — raw size.  It uses the raw size because when you are sending messages, WebMail actually knows the raw size already, so this is conceptually easier for the user.  The limit is well below 100MB so that once these messages are encoded, they will still have an encoded size of less than 100MB, the encoded-message limit across LuxSci’s systems.

6 Responses to “Raw vs. Encoded Email Message Size — What’s the Difference?”

  1. Send and Receive Larger Messages with LuxSci | LuxSci FYI Says:

    […] LuxSci has doubled the maximum size of messages that can be sent or received via SMTP from 50 megabytes to 100 megabytes (encoded size). […]

  2. Is there any limit to the size of attachments or email messages that I can send or receive? | LuxSci Sales FAQ Says:

    […] email system has an upper limit of 100 MB on the total encoded size of any individual email message sent or received. Sending of email messages from WebMail is […]

  3. SecureLine Sending Enhancements | LuxSci FYI Says:

    […] message size that can be sent from these portals has been raised from 20 Megabytes to 50 Megabytes (raw size) and the maximum number of attachments on one of these secure messages has been raised from 3 to 20 […]

  4. LuxSci Outbound Email: 5 Sending Options Compared! | LuxSci FYI Says:

    […] Support for sending messages up to 100MB of total encoded size. […]

  5. Maximum WebMail Message Size Now 70MB | LuxSci FYI Says:

    […] of a message that can be sent from WebMail from 50 megabytes to 70 megabytes.  This refers to the raw size of the message content plus all […]

  6. Text Messages are Faster than Email, but not Instantaneous! | LuxSci FYI Says:

    […] messages are all very short (160 characters or less with very little “extra metadata” like email headers).  As such, it is very easy for servers to process […]

Leave a Comment

You must be logged in to post a comment.

• Access Anywhere
• Fast and Robust
• Super Secure
• Tons of Features
• Customizable
• Mobile Friendly

Send and receive email from your favorite programs, including:

 Microsoft Outlook
 Mozilla Thunderbird
 Apple Mail
 Windows Mail

... Virtually any program that supports POP, IMAP, or SMTP

Keep your email, contacts, and calendars in sync:

 Apple iPhone and iPad
 Android Devices
 Windows Phone

... Any device with Exchange ActiveSync (EAS) support

Relay your server's mail through LuxSci via smarthost:

• Resolve issues with ISP sending limits and restrictions
• Improve deliverability with better IP reputation and IP masking
• Take advantage of Email Archival and HIPAA Compliance
• Even setup smarthosting from Google Apps!

Free web site hosting with any email account:

• Start with up to 10 web sites and MySQL databases
• DNS services for one domain included
• Tons of features and fully HIPAA capable

LuxSci's focus on security and privacy:

• Read The Case for Email Security
• Read Mitigating Security & Privacy Threats
• Review our Privacy Policy

The most accurate, flexible, and trusted filters in the business:

• Premium protection with Intel Security Saas
• Realtime virus database guards against the latest threats
• Seven-day quarantine lets you put eyes on every filtered email
• Supplement with our Basic Spam Filter for even more features

End-to-end secure email encryption — to anyone, from anyone:

• No setup required — encryption is automatic and easy to use
• Secure outbound email with TLS, PGP, S/MIME, or Escrow
• Free inbound encryption via our SecureSend portal
• Independent of your recipient's level of email security
• Widely compatible and fully HIPAA Compliant

Add an extra layer of security with an SSL Certificate:

• Secure your web site
• Debrand LuxSci WebMail with your own secure domain
• Access secure email services via your own secure domain

Encrypt your service traffic via secure tunnel:

• Add another layer of security to your SSL connections
• WebMail, POP, IMAP, SMTP, web/database access
• SecureForm posts, SecureLine Escrow, SecureSend access
• Restrict your account to VPN access only

Secure long-term message archival:

• Immutable, tamperproof email retention with audit trails
• No system requirements — minimal setup, even less upkeep
• Realtime archival of all inbound and outbound messages
• Works anywhere — even with non-LuxSci email hosting

Free data backups included with all email hosting accounts:

• Automatic backups of all email, WebAides, web/database data
• Seven daily backups and up to four weekly backups
• Unlimited restores included at no additional cost
• Custom backup schedules for dedicated servers

Automate your email management:

• Save messages to specific folders or to LuxSci WebAides
• Advanced text scanning with regular expressions
• Tag messages, alter subject lines, or add custom headers
• Filter by message charset, type, TLS status, DKIM status
• Chain filters together for even more complex actions

• Bulk add and edit users, aliases and more
• Control sharing and access globally or on a granular level
• Delegate user roles through permissions
• Configure account-wide taglines, sending restrictions, and more
• Remotely administer account via SOAP API

Share, collaborate, organize, synchronize:

• Calendars, Contacts, Documents, Notes, Widgets, Workspaces
• Fine-grained access control and security
• Access anywhere via secure web portal or smartphone
• Save over solutions like Microsoft Exchange

Free folder sharing for all email hosting accounts:

• Share mail folders with other users in your account
• Subscribe to only the folders you want to see
• Set read-only or read-write access control
• View all personal and shared folders via unified web interface

Color code and label your email messages:

• Define and assign multiple IMAP keywords to each message
• Filter, search, and sort by tags
• Compatible and synchronizes with any IMAP email client
• Also usable with WebAide entries