The CreatorCon Call for Content is officially open! Get started here.

Remove email footer in inbound action

Mohamed Faizel
Giga Expert

Hi,

 

Is there any way to omit the outlook automated footer?

 

For our requirement, email body text will be placed in work-notes. In that work notes automated outlook footer also updated. can we omit the following line   using inbound actions?

"This e-mail and any files transmitted with it are for the sole use of the intended recipient(s) and may contain confidential and privileged information. If you are not the intended recipient(s), please reply to the sender and destroy all copies of the original message. "

 

Please help on this.

 

Thanks,

Faizeal.

1 ACCEPTED SOLUTION

How about:



var footerText = "This e-mail and any files transmitted with it are for the sole use of the intended recipient(s) and may contain confidential and privileged information. If you are not the intended recipient(s), please reply to the sender and destroy all copies of the original message.";


var emailBody = email.body_text.replace(footerText, '');


View solution in original post

7 REPLIES 7

In my instance there is no script section for Inbound Actions, only the field conditions section. How can I apply something like this to my instance? Is there another place that I can apply the script?


Never mind, looks like the advanced checkbox was missing from the form which exposes the script box. Added that and can now see that on the Actions section.


Hi Mohammed,



Yes something similar, or you can try what Andrew also proposed. But the footerText has to be exactly the same and if it changes then you have to change the script. I would suggest that you create a system property and store the text and use it in the inbound action and it will be easy to maintain.