[sup-talk] a few sup newbie questions
Marianne
marianne.promberger+sup-talk at gmail.com
Tue Dec 30 04:53:47 EST 2008
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 <email at domain.com>"
end
if message.recipient_email =~ /rubyforge/
return "My name <email at domain.com>"
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
More information about the sup-talk
mailing list