[rt-users] New Template - List CC's in correspondence?

Phil Homewood pdh at bestpractical.com
Wed Feb 12 02:44:10 EST 2003


Mike Patterson wrote:
> But I'm not sure what to what the exact name of the Cc field.  This 
> didn't seem to work:
> 
>   Ccs: {$Ticket->Ccs->EmailsAsString()}

Cc: {$Ticket->Cc->EmailsAsString()}

> Even better would be to stamp it if CC's exist, otherwise leave line 
> blank altogether.

Try something like:

{ if ($cc=$Ticket->Cc->EmailsAsString()) { "Cc: " . $cc } }

-- 
»|« http://www.bestpractical.com/rt  -- Trouble Ticketing. Free.



More information about the rt-users mailing list