[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [sup-talk] choosing signatures
Excerpts from Gregor Hoffleit's message of Thu Jun 10 11:52:25 -0400 2010:
> Eric,
>
> at first, that looks like a duplication of code. Could you elaborate why
> you use both of these hooks?
>
> Gregor
Yes. The reply-from hook only triggers when replying, whereas the
before-edit hook triggers also when composing a new email.
In this way I can ensure that for instance when I start a new thread to
recipients at my workplace or its vendors, the correct non-default From
address (and thusly the correct non-default sup account and signature and
so on) is selected.
_______________________________________________
sup-talk mailing list
sup-talk@rubyforge.org
http://rubyforge.org/mailman/listinfo/sup-talk