[Rt-devel] [PATCH] Allow to override 'envelope from' from templates
Kevin Falcone
falcone at bestpractical.com
Wed Jul 6 10:30:33 EDT 2011
On Wed, Jul 06, 2011 at 05:07:48PM +0300, Timo Teräs wrote:
> On 07/06/2011 05:03 PM, Kevin Falcone wrote:
> > On Wed, Jul 06, 2011 at 04:47:10PM +0300, Timo Teräs wrote:
> >> Add X-RT-Envelope-From header that will override the envelope
> >> from if using sendmailpipe mail sending.
> >
> > Does $OverrideOutgoingMailFrom not provide enough rope for your use
> > case? It lets you change envelope from on a per-queue basis
>
> No. I need to override it on Template basis. I have two separate Scrips
> that can execute on same event and use these two separate Templates.
> Thus one event can generate two mails with separate envelope from.
Ok, can you send it as a patch against master to rt-bugs after you
fold the header parsing into the if block which is the only place you
use that variable? I'll see that it gets assigned to get looked at
for the 4.2 series.
Thanks
-kevin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 195 bytes
Desc: not available
URL: <http://lists.bestpractical.com/pipermail/rt-devel/attachments/20110706/81dfc6df/attachment.pgp>
More information about the rt-devel
mailing list