update additional comments field with user mail reply

String
Kilo Sage

Hi Team,

when the user sends data throught mail,we are updating that respective details to the additional comments,but now user sending data in table format so  when the inbound action script is not updating the table format info properly 

So anyway to update the exact table format in additional comments which we received from the mail, Please guide me.

1 ACCEPTED SOLUTION

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


current.comments = "[CODE]"+ messageContent;
current.update();

View solution in original post

31 REPLIES 31

hi have tried with AttachNone, but still no luck

Please check the attachment 

can you also share the ticket?

Please check the below attachments 

user reply through mail as below

Hi team,

Please update my comments 

Kind Regards,
ABC

Do you have a question? We can help.

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

Address: ABSDSs

Connect with us
image image

can you try this property 

  • glide.email.inbound.image_sys_attachment.filter.minimum_bytes

set it to minimum