From mboxrd@z Thu Jan 1 00:00:00 1970 From: marianne.promberger+sup-talk@gmail.com (Marianne) Date: Wed, 14 Jan 2009 18:34:31 +0000 Subject: [sup-talk] questions about reply-from & before-edit hooks and accounts In-Reply-To: <1231272504-sup-1247@tomsk> References: <1231252310-sup-6112@audrey> <1231272504-sup-1247@tomsk> Message-ID: <1231957899-sup-8229@audrey> Excerpts from Marcus Williams's message of Tue Jan 06 20:13:53 +0000 2009: > > You might want to look through the archives for the regexen option - I > use it for this purpose (although it only solves your reply-to case). > Thanks for that tip. I've tried it and it works, although as you note it only works for replying. For me, it also unfortunately does not set my name to the :name: set in that account, but instead uses the part of the e-mail in front of the "@" as my name. However, I have to correct myself when I wrote that picking a person with the reply-from.rb doesn't pick the correct sig from that account. While I still think I tested this and it didn't work, this is now the second post to sup-talk where sup picks the correct sig from my sup-talk account in config.yaml. So that's great; I just miss being able to handle this in before-edit.rb in a similar way as in reply-from.rb, i.e, by having access to things like "message.recipient_email", and return a person from config.yaml Sorry for all the nagging, I know sup is beta. Take it as a compliment that sup has so many nice features that it raises the standards to which it will be held :) Marianne