Archive of RubyForge sup-talk mailing list
 help / color / mirror / Atom feed
From: marianne.promberger+sup-talk@gmail.com (Marianne)
Subject: [sup-talk] a few sup newbie questions
Date: Tue, 30 Dec 2008 10:53:47 +0100	[thread overview]
Message-ID: <1230630305-sup-9424@audrey> (raw)
In-Reply-To: <1230573934-sup-5232@cabinet>

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


  reply	other threads:[~2008-12-30  9:53 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-12-17 21:37 Marianne Promberger
2008-12-17 22:46 ` William Morgan
2008-12-29 17:27   ` Marianne
2008-12-29 18:10     ` Marc Hartstein
2008-12-30  9:53       ` Marianne [this message]
2009-01-02 12:53         ` William Morgan

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=1230630305-sup-9424@audrey \
    --to=marianne.promberger+sup-talk@gmail.com \
    /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