[prev in list] [next in list] [prev in thread] [next in thread]
List: rt-devel
Subject: [rt-devel] Re: [rt-users] FROM: information in mail sent by RT autoresponders
From: Phil Homewood <pdh () snapgear ! com>
Date: 2002-03-24 23:15:44
[Download RAW message or body]
Mike Tindor wrote:
> I guess my question is why it is only showing up as 'hosting' when in the
> description for the queue I actdually have Mike's Hosting Service
> HelpDesk. Where would I go to actually change it so that it shows
> something more descriptive in the FROM (like a person's full name, or a
> Departmental description" rather than just the first part of the email
> address?
See attached patch. I like the idea.
Index: Autoreply.pm
===================================================================
RCS file: /cvs/local/rt/lib/RT/Action/Autoreply.pm,v
retrieving revision 1.1.1.2
diff -u -r1.1.1.2 Autoreply.pm
--- Autoreply.pm 22 Jan 2002 23:47:44 -0000 1.1.1.2
+++ Autoreply.pm 24 Mar 2002 23:06:55 -0000
@@ -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>");
}
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic