From mboxrd@z Thu Jan 1 00:00:00 1970 From: marianne.promberger+sup-talk@gmail.com (Marianne) Date: Tue, 30 Dec 2008 10:53:47 +0100 Subject: [sup-talk] a few sup newbie questions In-Reply-To: <1230573934-sup-5232@cabinet> References: <1229548441-sup-531@audrey> <1229552235-sup-1046@entry> <1230571384-sup-9910@audrey> <1230573934-sup-5232@cabinet> Message-ID: <1230630305-sup-9424@audrey> Excerpts from Marc Hartstein's message of Mon Dec 29 19:10:48 +0100 2008: > Excerpts from marianne.promberger+sup-talk's message of Mon Dec 29 12:27:19 -0500 2008: > > > > One more question: Is there some way to have more fine-grained control > > over what the "From" e-mail address is when replying? As far as I > > Check out the reply-from hook; it's passed the message you're replying > to so you can do any processing you want on it and return a default > from address. Thanks. Any chance you could give me a pointer on how I can get it to "return a person"? I've tried stuff like ... (in ~/.sup/hook/reply-from.rb) if message.to =~ /rubyforge/ hook_reply_from = "My Name " end if message.recipient_email =~ /rubyforge/ return "My name " end ... with different variations of patterns I'm testing for and with different returned strings. Any pointers appreciated! (Including general information where I could RTFM .. I looked at "sup -l" but that's pretty brief. Marianne