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

Jesse Vincent jesse at bestpractical.com
Fri Aug 17 18:58:37 EDT 2001


the first line of your autoreply template should be 

From: this is a sample <rt at sample.com>

and then you need two carriage returns before the rest of the template.


On Fri, Aug 17, 2001 at 03:41:43PM -0700, matthew zeier wrote:
> 
> Oh?
> 
> Can someone show me an example?
> 
> Thanks.
> 
> 
> ----- Original Message -----
> From: "Jesse Vincent" <jesse at bestpractical.com>
> To: "matthew zeier" <matthew.zeier at thirdcoast.net>
> Cc: <rt-users at lists.fsck.com>
> Sent: Friday, August 17, 2001 3:41 PM
> Subject: Re: [rt-users] Changing From: header to Queue description
> 
> 
> > 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.
> >
> 
> 
> _______________________________________________
> 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