- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-10-2015 04:14 AM
Hi,
We are looking to remove the auto signatures from incoming emails (from a certain Inbound Action). I would like to use a system property to hold the auto signature, so its easy to amend if it changes. I have the script below, but its not working. Can anyone see what is wrong and/or point me in the right direction. Property is our.email.our.autosignature.
Script
//Identify any Footer/Auto Signature standard text to be stripped from email.
var footerText = gs.getProperty(our.email.our.autosignature);
inc.addQuery('number', incNum);
inc.query();
if(inc.next()){
inc.work_notes = email.body_text.replace(footerText, ' ');
inc.state = '9';
inc.update();
}
Thanks
Derek
Solved! Go to Solution.
- Labels:
-
Analytics and Reports
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-10-2015 04:38 AM
and property can be read like this
gs.getProperty('our.email.our.autosignature');
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-10-2015 04:34 AM
I dont think there is any way to exactly identify the signature of an incoming email.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-10-2015 04:38 AM
and property can be read like this
gs.getProperty('our.email.our.autosignature');
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-10-2015 04:46 AM
Thanks, that is what was missing. We can identify the auto signature as the email action is only looking at for email from a specific 3rd party.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-10-2015 05:16 AM
got it ...