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

matthew zeier matthew.zeier at thirdcoast.net
Fri Aug 17 17:04:01 EDT 2001


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





More information about the rt-users mailing list