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 client fails to save or send email if a certain size is exceeded - Known Error
  • >
  • Knowledge Base
  • >
  • Known Error (Knowledge Base)
  • >
  • Email client fails to save or send email if a certain size is exceeded
KB0598962

Email client fails to save or send email if a certain size is exceeded


1588 Views Last updated : Dec 6, 2024 public Copy Permalink
KB Summary by Now Assist

Description

When sending a very large email from the email client, the following errors appear in the localhost log and the email is not saved or sent:

WARNING *** WARNING *** Evaluator: org.mozilla.javascript.EcmaError: "sys_email" is not defined.
Caused by error in <refname> at line 1
==> 1: sys_email.sys_id

WARNING *** WARNING *** Evaluator: org.mozilla.javascript.EcmaError: "sys_email" is not defined.
Caused by error in <refname> at line 1
==> 1: sys_email.body.sys_meta.internal_type

WARNING *** WARNING *** Evaluator: org.mozilla.javascript.EcmaError: "sys_email" is not defined.
Caused by error in <refname> at line 1
==> 1: sys_email.body.getED().getInternalType() == 'string'

WARNING *** WARNING *** Evaluator: org.mozilla.javascript.EcmaError: "sys_email" is not defined.
Caused by error in <refname> at line 1
==> 1: sys_email.reply_to.getDisplayValue()

WARNING *** WARNING *** Evaluator: org.mozilla.javascript.EcmaError: "sys_email" is not defined.
Caused by error in <refname> at line 1
==> 1: sys_email.recipients.getDisplayValue()

WARNING *** WARNING *** Evaluator: org.mozilla.javascript.EcmaError: "sys_email" is not defined.
Caused by error in <refname> at line 1
==> 1: sys_email.copied.getDisplayValue()

WARNING *** WARNING *** Evaluator: org.mozilla.javascript.EcmaError: "sys_email" is not defined.
Caused by error in <refname> at line 1
==> 1: sys_email.blind_copied.getDisplayValue()

WARNING *** WARNING *** Evaluator: org.mozilla.javascript.EcmaError: "sys_email" is not defined.
Caused by error in <refname> at line 1
==> 1: sys_email.subject.getDisplayValue()

WARNING *** WARNING *** Evaluator: org.mozilla.javascript.EcmaError: "sys_email" is not defined.
Caused by error in <refname> at line 1
==> 1: sys_email.sys_id

WARNING *** WARNING *** Evaluator: org.mozilla.javascript.EcmaError: "sys_email" is not defined.
Caused by error in <refname> at line 1
==> 1: sys_email.body.getDisplayValue()

Steps to Reproduce

  1. Log in to a base system instance.
  2. Navigate to Incident > Open.
  3. Open any incident record.
  4. Check for the email client on the record.

    in the Incident record header highlighted is the email icon

  5. If the email client is not visible:
    1. Navigate to System Definition > Dictionary.
    2. In the Table column, find Incident (Type = Collection).
    3. In the Attributes section or tab, add the attribute email_client=true.
  6. Click the email client icon.
  7. Enter a valid recipient email address.
  8. Paste in the content of the attached Change content.rtf file.
  9. Try sending the message.
    Note that the email is not sent.

Workaround

This is expected behavior and cannot be changed in any current or future release. The email client is not intended for large email messages and is limited to 1Mb by default. The general limit on a POST submission is 2Mb. When a large file is pasted into the email client and then combined with other system-generated data in the POST, the volume of data exceeds the amount the system is able to receive.

There is a related issue where unsaved comments and work notes are placed into the URL. For more information, see KB0598961: Email client quick message from incident form fails to open when long text is present in work notes or additional comments fields.


Related Problem: PRB619995

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?

Attachments

Attachments

  • PRB619995_screenshot.png
  • Change Content.rtf
  • PRB619995_screenshot.png

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.