From mboxrd@z Thu Jan 1 00:00:00 1970 From: guillaume.quintard@enst-bretagne.fr (Guillaume Quintard) Date: Sun, 24 Feb 2008 16:12:03 -0800 Subject: [sup-talk] filter question In-Reply-To: <1203893761-sup-560@south> References: <1203801642-sup-8748@altis> <1203893761-sup-560@south> Message-ID: <1203898237-sup-1505@altis> Excerpts from William Morgan's message of Sun Feb 24 14:58:00 -0800 2008: > But you shouldn't have to write that hook, because the sent label is > applied to all sent messages anyways! > actually, the idea was to label mail sent by me from gmail. > (Also, you'd need to use message.from.email because message.from is a > Person object). message.add_label "test" if message.from.email =~ /guillaume.quintard at gmail.com/ doesn't seem to do a thing either :-( -- Guillaume