I'm currently working on a system that allows users to reply to notification emails that are sent out (sigh).
I need to strip out the replies and signatures, so that I'm left with the actual content of the reply, without all the noise.
Does anyone have any suggestions about the best way to do this?
To do that, do the following. On the Outlook menu, click Preferences. In the Outlook Preferences window, under Email click on Signature. Now in the Signatures windows under Choose default signature, change the setting for Replies/forwards to None.
Go to the Gmail Settings page and open the General tab. In the Signature option, you can see a new check-box available just below the signature box with text as 'Insert this signature before quoted text in replies and remove the “–” line that precedes it'.
If your system is in-house and/or you have a limited number of reply formats, it's possible to do a pretty good job. Here are the filters we have set up for email responses to trac tickets:
Drop all text after and including:
'-- \n'
(standard email sig delimiter)'--\n'
(people often forget the space in sig delimiter; and this is not that common outside sigs)'-----Original Message-----'
(MS Outlook default)'________________________________
' (32 underscores, Outlook again)'On '
and end with ' wrote:\n'
(OS X Mail.app default)'From: '
(failsafe four Outlook and some other reply formats)'Sent from my iPhone'
'Sent from my BlackBerry'
Numbers 3 and 4 are 'begin with' instead of 'equals' because sometimes users will squash lines together on accident.
We try to be more liberal about stripping out replies, since it's much more of an annoyance (to us) have reply garbage than it is to correct missing text.
Anybody have other formats from the wild that they want to share?
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With