Inline Attachments staying in 'Pending' state in sys_attachment table

Cris P
Tera Guru

Hello everyone,

I have a weird issue where any inline attachment on an email stays in a state of 'Pending' in the sys_attachment table; therefore not being available on the target record.

find_real_file.png

I have checked the 'attachment_scan_history' table and can see the image was scanned and that the 'Attachment is clean':

find_real_file.png

 

The sys_email record also shows that the attachment has been moved to the target:

find_real_file.png

 

I think the issue is the sys_attachment record remaining in the 'Pending' state; any ideas why this would remain like this despite the scan returning a clean attachment?

Some additional details:

- The image is just a png, size 4.42mb

- If I send the same image as an attachment in the email (i.e. not inline in the body of the email), the attachment goes to state 'Available' and is available in the target record.

- 'com.glide.attachment.max_size' is 1024MB

- 'glide.email.inbound.image_sys_attachment.filter.minimum_bytes' is 0

 

 

1 ACCEPTED SOLUTION

Cris P
Tera Guru

I found the issue, it is a custom BR we have on our instance on the sys_attachment to stop processing of any sys_attachment which has 'image0' in the file_name. So because inline pics automatically get named that it is also filtering them out.

View solution in original post

1 REPLY 1

Cris P
Tera Guru

I found the issue, it is a custom BR we have on our instance on the sys_attachment to stop processing of any sys_attachment which has 'image0' in the file_name. So because inline pics automatically get named that it is also filtering them out.