[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [sup-talk] mis-identified signature block in message body
Excerpts from Jim Cheetham's message of Mon Oct 10 13:36:45 +1000 2011:
> I have a set of emails that contain a chunk of text at the end that
> seems very much like a signature block :- it is in fact a formatted
> list of things from a DB query.
>
> Is there a hook that would allow me to intercept the message display,
> and make my own decision about these?
There's no hook but FWIW I have run into the same issue but with
Bugzilla mails. I just tweaked the matching in message.rb to check
for a "real" signature marker after a match:
http://gitorious.org/~stl/sup/stl-sup/commit/48b397f2a82d32992eb6d48e845762200c4c5fd0
It's not the perfect solution, but it works for me.
cheers,
--
Steven Lawrance
stl@koffein.net
_______________________________________________
sup-talk mailing list
sup-talk@rubyforge.org
http://rubyforge.org/mailman/listinfo/sup-talk