Notifications

53 views

Description

When referencing an image or sys_attachment in email HTML content, the email cannot be sent, and is left in the send-failed state with an error "IOException while sending message"

The error message does not provide helpful info to identify which attachment cannot be read.

Steps to Reproduce

 

1) Import the xml for the UI System Image (an image attachment that is corrupted)
2) On any incident, open the email client
3) Press the 'image' icon in the editor toolbar
4) Add the db image into the email message.
5. Send the email
6) Check email status and see IOException occurs and the email is 'send-failed', and the attachment is not identified.

Workaround

The missing identification of which sys_attachment record is corrupted has no workaround.

If there are many attachments in the email, you will need to narrow down until to find the attachment generating this error.

 

Once you have located which attachment is corrupt, you can workaround to send the email by either:

A) Delete any reference to the corrupted image in the body of the html email <img src='.......'>, or attached to the sys_email record for a non-inline attachment.

B) Replace the corrupted image in System UI / Images with a new correct image. Do not import XML from another system. Please use the User Interface to upload the images instead.


Related Problem: PRB1324395

Seen In

There is no data to report.

Intended Fix Version

New York

Safe Harbor Statement

This "Intended Fix Version" information is meant to outline ServiceNow's general product direction and should not be relied upon in making a purchasing decision. The information provided here is for information purposes only and may not be incorporated into any contract. It is not a commitment, promise, or legal obligation to deliver any material, code, or functionality. The development, release, and timing of any features or functionality described for our products remains at ServiceNow's sole discretion.

Associated Community Threads

There is no data to report.

Article Information

Last Updated:2019-02-15 11:06:16
Published:2019-02-15