[rt-users] attachments not properly present in HTML mail

Boli boli at itss.co.tz
Thu Apr 9 07:22:00 EDT 2015


Hi

I'm sure there's a problem with my template. Can anyone point it out to
me? The attachments seem to be added to the mail if I view the mail
source - but I cannot see them in most mail clients (Thunderbird in
particular)

This only happened when I recently a) upgraded from 4.2.2 to 4.2.10, and
b) started using HTML templates

Thanks

-- template starts here --
{
  my $result="";
  my $u = $Transaction->CreatorObj;
  if ( $u->Privileged ) {
    my $a = $Ticket->QueueObj->CorrespondAddress;
    $a = $Ticket->QueueObj->CommentAddress if ( $Transaction->Type eq
'Comment' );
    $result .= "From: ".$Ticket->QueueObj->Description()." <".$a.">";
  }
  $result;
}
RT-Attach-Message: yes
Content-Type: text/html

{$Transaction->Content( Type => "text/html")}
--template ends here --

-- 
Jon 'Boli' Copeland
Systems Engineer
IT Sales & Services Ltd
All sales enquiries   : sales at itss.co.tz
All support enquiries : support at itss.co.tz
Emergencies Only      : +255 (0) 685 374780




More information about the rt-users mailing list