[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [sup-talk] Adding string to 'missing attachment detection'



Excerpts from Philipp's message of Wed Oct 05 15:18:49 -0400 2011:

Hi Philipp,

> All I'd need is a way to add the word 'Anhang' to that mechanism. Can
> you tell me where to do this? I tried a web search and looked through
> some source files but couldn't find the right place so far.

You want to write a 'mentions-attachments' hook.  You'll get the
variables header, and body.  Scan the body for whatever terms you
want/need and return true/false as desired.

HTH.
-Ben
--
Ben Walton
Systems Programmer - CHASS
University of Toronto
C:416.407.5610 | W:416.978.4302

_______________________________________________
sup-talk mailing list
sup-talk@rubyforge.org
http://rubyforge.org/mailman/listinfo/sup-talk