When I try to send an e-mail with CC: to more than one person I get an error:
Fatal error: Uncaught exception 'Swift_RfcComplianceException' with message 'Address in mailbox given [kornel@someserver1.es, kornel@someserver1.com] does not comply with RFC 2822, 3.6.2.' in /opt/NetMake/v7/wwwroot/scriptcase/prod/third/swift/classes/Swift/Mime/Headers/MailboxHeader.php:308 Stack trace: #0 /opt/NetMake/v7/wwwroot/scriptcase/prod/third/swift/classes/Swift/Mime/Headers/MailboxHeader.php(238): Swift_Mime_Headers_MailboxHeader->_assertValidAddress('kornel@server.e...') #1 /opt/NetMake/v7/wwwroot/scriptcase/prod/third/swift/classes/Swift/Mime/Headers/MailboxHeader.php(96): Swift_Mime_Headers_MailboxHeader->normalizeMailboxes(Array) #2 /opt/NetMake/v7/wwwroot/scriptcase/prod/third/swift/classes/Swift/Mime/Headers/MailboxHeader.php(60): Swift_Mime_Headers_MailboxHeader->setNameAddresses(Array) #3 /opt/NetMake/v7/wwwroot/scriptcase/prod/third/swift/classes/Swift/Mime/SimpleHeaderFactory.php(60): Swift_Mime_Headers_MailboxHeader->setFieldBodyModel(Array) #4 /opt/NetMake/v7/wwwroot/scriptcase/prod/third/swift/classes/Swift/ in /opt/NetMake/v7/wwwroot/scriptcase/prod/third/swift/classes/Swift/Mime/Headers/MailboxHeader.php on line 308
When I put on CC: only one address all works well.
As far as I know you can put many addresses in CC: field