[rt-users] Meaningful From: address

Phil Homewood pdh at snapgear.com
Sun Aug 11 20:31:53 EDT 2002


Robie Basak wrote:
> On Fri, 2002-08-09 at 11:38, francisv at dagupan.com wrote:
> > Whenever RT responds to an e-mail, it appears as -- "help" <help at address>. I
> > know that "help" is a queue but can I make it appear as a different name to
> > the rest of the world? (i.e. Customer Support <help at address>)
> 
> Just putting it into the Description box in the Queue configuration
> worked for me.

It did? Out of the box?
I had to apply the attached patch to get that behaviour.

-- 
Phil Homewood, Systems Janitor, www.SnapGear.com
pdh at snapgear.com Ph: +61 7 3435 2810 Fx: +61 7 3891 3630
SnapGear - Custom Embedded Solutions and Security Appliances
-------------- next part --------------
Index: lib/RT/Action/Autoreply.pm
===================================================================
RCS file: /cvs/local/rt/lib/RT/Action/Autoreply.pm,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- lib/RT/Action/Autoreply.pm	7 Nov 2001 03:28:00 -0000	1.1
+++ lib/RT/Action/Autoreply.pm	24 Mar 2002 23:16:47 -0000	1.2
@@ -49,7 +49,8 @@
     }
     
     unless ($self->TemplateObj->MIMEObj->head->get('From')) {
-	my $friendly_name=$self->TicketObj->QueueObj->Name;
+	my $friendly_name = $self->TicketObj->QueueObj->Description ||
+		$self->TicketObj->QueueObj->Name;
 	$self->SetHeader('From', "$friendly_name <$replyto>");
     }
     


More information about the rt-users mailing list