{showpage:mail/header}
{$msg}
{loopstart:mail:10000}

{if($subject!="")}{$subject}{endif}

{noescape:$mail[7]} {cfn:getattachment($mail[0],$mail[13])}
{if($fid!=2)} {else} {endif} {if($fid!=2 && $fid!=3 && $fid!=4 && $fid!=6)} {endif} {if($fid!=6)} {endif} {if($fid!=2)} {cfn:getreaddetails($fid,$mail[0])} {endif}
{loopend:mail}
{showpage:mail/footer}