Thank you for your feedback.
Form temporarily unavailable. Please try again or contact docfeedback@servicenow.com to submit your comments.
Versions
  • Madrid
  • London
  • Kingston
  • Jakarta
  • Istanbul
  • Helsinki
  • Geneva
  • Store
Close

Message body size limit properties

Log in to subscribe to topics and get notified when content changes.

Message body size limit properties

Several properties enforce the maximum email body size allowed for inbound and outbound email messages.

Properties

By default, the system processes up to 1MB worth of information in the email body and body_text fields (524KB each).

You can add and configure system properties com.glide.email.max_body_bytes and glide.email.outbound.max_body_bytes to increase or decrease the email body size limits, but note that the system truncates the body text for emails that exceed the configured limit. For example, if you configure the body size limit of com.glide.email.max_body_bytes to 2MB but receive an inbound email that is 3MB, then the system cuts 1MB worth of information from the email body.

Also note that the system cannot process emails larger than 16MB. Even if you configure the email body size limits to a value larger than 16MB, emails larger than 16MB are truncated.

Table 1. Message body size limit properties
Name Description
com.glide.email.max_body_bytes Sets the maximum body size in bytes allowed per inbound email. Ensure that the sum of this property and the glide.email.inbound.max_total_attachment_size_bytes property is well below the maximum total email size (16MB).
  • Type: integer
  • Default value: 1048576
glide.email.outbound.max_body_bytes Sets the maximum body size in bytes allowed per outbound email. Ensure that the sum of this property and the glide.email.outbound.max_total_attachment_size_bytes property is well below the maximum total email size (16MB).
  • Type: integer
  • Default value: 1048576
Note: A different property, com.glide.attachment.max_size, sets the maximum file size allowed for any attachment in the system and overrides any larger values of glide.email.inbound.max_total_attachment_size_bytes and glide.email.outbound.max_total_attachment_size_bytes.

Inbound email body processing

For inbound emails, the system enforces the maximum body size as set by the com.glide.email.max_body_bytes property. When the body size exceeds the configured value:
  • The system does not run inbound email actions that would otherwise be triggered by the email.
  • The system truncates the Body text on the Email form.
  • The system logs a warning and sets the Error string field on the Email form. The log message for such an email might look like this:
    Email set to receive-ignored because its size exceeds the value set in com.glide.email.max_body_bytes. 1995 character(s) were truncated from the body field.

Outbound email body processing

For outbound emails, the system enforces the maximum body size as set by the glide.email.outbound.max_body_bytes property. When the body size exceeds the configured value:
  • The system does not send the email.
  • The system truncates the Body text on the Email form.
  • The system logs a warning and sets the Error string field on the Email form. The log message for such an email might look like this:
    Email set to send-ignored because its size exceeds the value set in glide.email.outbound.max_body_bytes. 1337 character(s) were truncated from the body field.
Feedback