Multiple Cc email addresses?

Hi all,

I know how to include a Cc address like so:

$headers .= "Cc: email@address.com\r
";

But if I wanted multiple Cc recipients would I just separate them with a coma, like so:

$headers .= "Cc: email@address.com,another@address.com\r
";

?

And should there be a space between them, or no spaces at all?

It should work without spaces, but for a proper e-mail class for PHP you should use SwiftMailer (http://www.swiftmailer.org)

Try using a semicolon to separate the addresses