[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [sup-devel] [PATCH] new hook: compose-from



Excerpts from Michael Stapelberg's message of Tue Mar 09 12:54:18 -0500 2010:
> This hook is useful to use different names/addresses depending on the
> destination address, subject, etc. of the message. Example:
> 
>   if header["To"] and header["To"] =~ /^sup-(.*)@rubyforge\.org$/
>     Person.from_address "Michael Stapelberg <michael+sup@stapelberg.de>"
>   end

I use before-edit.rb to do a similar thing.  Are the semantics the same?

Cheers,
Edward
_______________________________________________
Sup-devel mailing list
Sup-devel@rubyforge.org
http://rubyforge.org/mailman/listinfo/sup-devel