From: wmorgan-sup@masanjin.net (William Morgan)
Subject: [sup-talk] Need help with sorting "To" with hook
Date: Sat, 24 May 2008 19:10:31 -0700 [thread overview]
Message-ID: <1211681341-sup-5126@south> (raw)
In-Reply-To: <1211346762-sup-263@hells>
Reformatted excerpts from lister.lists's message of 2008-05-20:
> I love sup, and I'm using it mostly with a gmail account.
> However, I can't find a hook to sort emails by the "To" field.
I asusme you mean label, not sort...
> I just signed up to the Ruby mailing lists which are a complete mess.
> I'm thinking of something like the:
>
> "message.add_label "yahoo" if message.from.email =~ /@yahoo/"
>
> hook already on the sup wiki, and I've tried and failed to change it
> to modify emails To @ruby.
What does your before-add-message hook look like? Something like this?
message.add_label "ruby" if message.to.email =~ /ruby-talk@/
--
William <wmorgan-sup at masanjin.net>
prev parent reply other threads:[~2008-05-25 2:10 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-05-21 5:17 Emil Jensen
2008-05-25 2:10 ` William Morgan [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1211681341-sup-5126@south \
--to=wmorgan-sup@masanjin.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox