[rt-users] Removing text

Andy Harrison aharrison at gmail.com
Thu Jan 13 14:45:50 EST 2005


On Thu, 13 Jan 2005 13:00:16 -0600, Daniel Jimenez <djimenez at pobox.com> wrote:
> All,
> 
> My company attaches a disclaimer to all outgoing emails. This really
> clutters up RT. Is there anyway to have RT remove the disclaimer from
> the ticket?


If you look at rt-mailgate, you can see it receives the message from stdin.

  # Read the message in from STDIN
  $args{'message'} = <>;

So right after that is probably a good place to insert a routine to
alter the message content.

-- 
Andy Harrison



More information about the rt-users mailing list