Skip to page contentSkip to chat
ServiceNow support
    • Community
      Ask questions, give advice, and connect with fellow ServiceNow professionals.
      Developer
      Build, test, and deploy applications
      Documentation
      Find detailed information about ServiceNow products, apps, features, and releases.
      Impact
      Accelerate ROI and amplify your expertise.
      Learning
      Build skills with instructor-led and online training.
      Partner
      Grow your business with promotions, news, and marketing tools
      ServiceNow
      Learn about ServiceNow products & solutions.
      Store
      Download certified apps and integrations that complement ServiceNow.
      Support
      Manage your instances, access self-help, and get technical support.
Email body/attachment size limit system properties - Support and Troubleshooting
  • >
  • Knowledge Base
  • >
  • Support and Troubleshooting (Knowledge Base)
  • >
  • Email body/attachment size limit system properties
KB0785037

Email body/attachment size limit system properties


23149 Views Last updated : Aug 2, 2023 public Copy Permalink English (Original)
  • English (Original)
  • Japanese
KB Summary by Now Assist

Summary

The system properties glide.email.inbound.max_body_chars and glide.email.outbound.max_body_chars are used to limit excessive sys_email HTML and plain text message data when processed in the instance. The default value is ~524k characters (524288) and does not consider the email headers or any attachments.

These properties are not based on multi-byte character encoding as the previous ones pre-London, to prevent confusion understanding how big a message really is. If the message of an incoming email exceeds the size defined in glide.email.inbound.max_body_chars, then truncation will occur in the message data itself.

Calendar, image, octet stream and RFC822 compliant message attachments are separately limited in size by glide.email.inbound.max_total_attachment_size_bytes. If any one attachment exceeds the limit defined there then that attachment will be discarded completely and a reason will be logged. If the limit is reached prior to reading remaining attachments, the remaining attachments are not stored.

KB0521772 notes that the ServiceNow email servers have an encoded size limit of an inbound email is 75MB and 25MB for outbound email. It also notes that encoding can increase the size of the original attachment by 1.3 - 1.4x. Therefore a limit of 50MB in total for an inbound email and 18MB in total for outbound email are reasonable expectations. This total includes the entire email - HTML, plain text, attachments, headers and any encoding overhead.

If an inbound email exceeds the mail server's limit, the in-instance properties described here do not apply because the email is never read into the instance. In this case it is rejected at the mail server level.

If the system property specific to email attachments glide.email.inbound.max_total_attachment_size_bytes is exceeded, email logs will trace the error message:
Maximum combined attachment size exceeded. (max:18874368 bytes). One or more attachment records ignored.

For outbound email, the size of the encoded headers, message HTML and plaintext, and any encoding cannot exceed 25 MB. The default value for glide.email.outbound.max_total_attachment_size_bytes is 18MB which should leave sufficient capacity for a reasonably large message body, headers, and any encoding needed to produce the email. 

Related Links

  • Message body size limit properties
  • Email server size limit prevents emails from being sent or received

The world works with ServiceNow.

Sign in for more! There's more content available only to authenticated users Sign in for more!
Did this KB article help you?
Did this KB article help you?

How would you rate your Now Support digital experience?

*

Very unsatisfied

Unsatisfied

Neutral

Satisfied

Very satisfied

Very unsatisfied

Unsatisfied

Neutral

Satisfied

Very satisfied

What can we improve? Please select all that apply.

What are we doing well? Please select all that apply.

Tell us more

*

Do you expect a response from this feedback?

  • Terms and conditions
  • Privacy statement
  • GDPR
  • Cookie policy
  • © 2025 ServiceNow. All rights reserved.