[rt-users] Changing From: header to Queue description

Jesse Vincent jesse at bestpractical.com
Fri Aug 17 18:41:26 EDT 2001


Well, the simple way to deal would be to override it with a From: header
in your templates.



On Fri, Aug 17, 2001 at 02:04:01PM -0700, matthew zeier wrote:
> 
> Pre 2.0.5p3, someone posted a patch to /opt/rt2/lib/RT/Action/Autoreply.pm
> to change the from header to the Queue name.
> 
> In my environment, I changed that to use the Queue description (since
> management wants a much longer From header than makes sense for a queue
> name).
> 
> unless ($self->TemplateObj->MIMEObj->head->get('From')) {
>     my $friendly_name=$self->TransactionObj->CreatorObj->RealName;
> 
>     my $from_addr=$self->TicketObj->QueueObj->Description();
>     $self->SetHeader('From', "$from_addr <$replyto>");
> 
> }
> 
> In 2.0.5, this patch was put in.  Can this be a configurable option?
> 
> - mz
> 
> 
> 
> --
> matthew zeier - "In mathematics you don't understand things.  You just
> get used to them." - John von Newmann
> 
> 
> _______________________________________________
> rt-users mailing list
> rt-users at lists.fsck.com
> http://lists.fsck.com/mailman/listinfo/rt-users
> 

-- 
http://www.bestpractical.com/products/rt  -- Trouble Ticketing. Free.




More information about the rt-users mailing list