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?
matthew zeier - “In mathematics you don’t understand things. You just
get used to them.” - John von Newmann
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?
–
matthew zeier - “In mathematics you don’t understand things. You just
get used to them.” - John von Newmann
rt-users mailing list
rt-users@lists.fsck.com
http://lists.fsck.com/mailman/listinfo/rt-users
http://www.bestpractical.com/products/rt – Trouble Ticketing. Free.
Oh?
Can someone show me an example?
Thanks.From: “Jesse Vincent” jesse@bestpractical.com
To: “matthew zeier” matthew.zeier@thirdcoast.net
Cc: rt-users@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.
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?
–
matthew zeier - “In mathematics you don’t understand things. You just
get used to them.” - John von Newmann
rt-users mailing list
rt-users@lists.fsck.com
http://lists.fsck.com/mailman/listinfo/rt-users
–
http://www.bestpractical.com/products/rt – Trouble Ticketing. Free.
the first line of your autoreply template should be
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@bestpractical.com
To: “matthew zeier” matthew.zeier@thirdcoast.net
Cc: rt-users@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?
–
matthew zeier - “In mathematics you don’t understand things. You just
get used to them.” - John von Newmann
rt-users mailing list
rt-users@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@lists.fsck.com
http://lists.fsck.com/mailman/listinfo/rt-users
http://www.bestpractical.com/products/rt – Trouble Ticketing. Free.