[rt-users] Re: (Netscape 4.x) replying to correspondence is blank
Mike Patterson
map at eecs.berkeley.edu
Mon Jan 27 12:31:56 EST 2003
I was able to find a solution and wanted to share it.
I hope this doesn't violate a RFC regarding Message-ID format.
From what I understand the Message-ID field should be somewhat
random/unique and also include some information (e.g. name of your
organization). I don't know why it was dropping the Message-ID with my
setup (maybe combination of scrips...or our sendmail setup?). So I made
the Message-ID somewhat simpler and my weird behavior with Netscape 4.x
clients (e.g. no Message-ID, so when replying message was blank) go away.
the file /path/to/rt2/lib/RT/Action/SendEmail.pm
-----------------original (minus comments)------------------------------
sub SetMessageID {
my $self = shift;
$self->SetHeader
('Message-ID', "<rt-".$self->TicketObj->id().
"-".
$self->TransactionObj->id()."." .rand(20) .
"\@".$RT::Organization.">")
unless $self->TemplateObj->MIMEObj->head->get('Message-ID');
}
-----------------My modified section-----------------------------------
sub SetMessageID {
my $self = shift;
$self->SetHeader
('Message-ID', "<rt-".$self->TicketObj->id()."-".rand(20).">")
unless $self->TemplateObj->MIMEObj->head->get('Message-ID');
}
-----------------------------------------------------------------------
More information about the rt-users
mailing list