[rt-devel] modified rt-crontool

plasma plasmaball at pchome.com.tw
Thu Sep 12 04:37:27 EDT 2002


I just noticed there's a bug in LightWeightSendMail.pm.  Please change
the line in subroutine SetSubject:

    my $subject = $self->{'Subject'} || "An email from RT";

to

    my $subject = $self->TemplateObj->MIMEObj->head->get('Subject') ||
	          $self->{'Subject'} ||
		  "An email from RT";

Then setting subject in a template will work.


plasma

==========================================================
 PC home ¹q¤l«H½c¡A¥Ó½Ð½Ð¦Ü: http://www.pchome.com.tw
 PC home Online ºô¸ô®a®x¡G·|­û²Ä¤@¡A¥xÆW³Ì¤jªº¤J¤fºô¯¸
==========================================================



More information about the Rt-devel mailing list