HTML Logo to be removed in Reply email

Arun91
Tera Contributor

Hi,

I have created email notification with HTML. When user is replying the email the comments are getting updated in the ticket and LOGO is also attached to the ticket as a attachment. How to remove those LOGO when user is replying the email.

 

7 REPLIES 7

Hi,

It is not inbound email. We created notification and added logo in the html format.

It is sending an email to the user. When user is trying to reply back then the logo is getting attached to the ticket.

@Arun91 

how are you sending? share that.

when email comes i.e. user replied, an inbound action will trigger on your target table and will update comments.

I am referring that. So you need to have script to remove that using string manipulation before adding to comments.

Did you check the link I shared?

If my response helped please mark it correct and close the thread so that it benefits future readers.

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

Yes i have inbound email action and i am using this script to remove the LOGO attachment

if (current.content_type == 'image/png' || current.content_type == 'image/jpgx') {
      if (current.file_name.indexOf('') != -1) {
        //  Delete the attachment or ignore it
        current.delete(); /
      }
    }
But this is not working