[rt-users] Massaging Email Content Before Ticket Creation/Comment/Correspondence

Josh Narins jnarins at seniorbridge.com
Thu Sep 30 09:54:27 EDT 2010


I thought it mikght be as simple as altering rt-mailgate as follows:

 # Read the message in from STDIN
 my %message = write_down_message();
 unless( $message{'filename'} ) {
+    ${ $message{content} } =~ s{Confidentiality.*?End Of Confidentiality}{}g;
     $args{'message'} = [
         undef, '',
         'Content-Type' => 'application/octet-stream',
         Content => ${ $message{'content'} },
     ];
 } else {

but I wouldn't be writing if that had worked.

Our firm as you can see below, adds a lot of stuff to each outgoing email, and when you combine that with multiple levels of quoting in comment replies something needs to be done if anyone wants to be able to read the ticket through the web interface.

Thanks in advance.



Josh Narins

Director of Application Development
SeniorBridge
845 Third Ave
7th Floor
New York, NY 10022
Tel: (212) 994-6194
Fax: (212) 994-4260
Mobile: (917) 488-6248
jnarins at seniorbridge.com
seniorbridge.com<http://www.seniorbridge.com/>

[http://www.seniorbridge.com/images/seniorbridgedisclaimerTAG.gif]

________________________________
SeniorBridge Statement of Confidentiality: The contents of this email message are intended for the exclusive use of the addressee(s) and may contain confidential or privileged information. Any dissemination, distribution or copying of this email by an unintended or mistaken recipient is strictly prohibited. In said event, kindly reply to the sender and destroy all entries of this message and any attachments from your system. Thank you.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20100930/c0a3eb7f/attachment.htm>


More information about the rt-users mailing list