how to avoid add attachments from inbound mail action

String
Kilo Sage

Hi Team ,

we have written inbound mail action as below :

var messageContent = "[code]" + email.body_html ;
if (messageContent.indexOf("From") != -1) {
messageContent = messageContent.substring(0, messageContent.indexOf("From")).trim();
} else {
messageContent = messageContent.trim();
}

current.work_note = messageContent;
current.update();

 

when the user replies from the mail, we are updating the same in the work note,but along with that ...phone icon, Twitter icons also inserted into attachments(which is there in the user signature). how to avoid that those icons not to insert into attachments 

 

user reply as below:

Hi team,

Please update my comments 

Kind Regards,
ABC

Do you have a question? We can help.

find_real_file.png 08495 6010 01501 || find_real_file.png servicedesk@abc.com || find_real_file.png http://www.hello.com

Address: ABSDSs

Connect with us
find_real_file.png find_real_file.png

 

1 ACCEPTED SOLUTION
5 REPLIES 5

@String 

Hope you are doing good.

Did my reply answer your question?

If so, please mark appropriate response as correct & helpful so that the question will appear as resolved for others who may have a similar question in the future.

Thanks!
Ankur