Reformatted excerpts from Guillaume Quintard's message of 2008-02-23: > I still have a little problem about filters though. they don't seem to > do anything. I have this in my before-add-message.rb : > > message.add_label "sent" if message.from =~ /[EMAIL PROTECTED]/ > > but, when I send mail to myself, it doesn't label the mail.
Yep, there was a bug where the before-add-message hook wasn't being called on sent messages. I've fixed this in git next. Update and try now. But you shouldn't have to write that hook, because the sent label is applied to all sent messages anyways! (Also, you'd need to use message.from.email because message.from is a Person object). -- William <[EMAIL PROTECTED]> _______________________________________________ sup-talk mailing list [email protected] http://rubyforge.org/mailman/listinfo/sup-talk
