I am having this problem using mime mail to send e-mail with multiple cc recipients. To be exact, if I have more than 2 e-mail address in the cc list, starting from 3rd recipient onward, none of them in the cc list is able to receive the e-mail. To put it in another word, only first 2 recipients in the cc list is able to receive the e-mail.. I have no idea what happened at all, hope somebody can give me some direction.
<?php require_once 'mail.php'; require_once 'mime/mime.php'; $mailTo = array( 'x@abc.com', ); $mailCc = array( 'a@abc.com', 'b@abc.com', // receipient set after this will not be able to receive the e-mail 'c@abc.com', ); $headers['Subject'] = 'PHP mail test'; $headers['From'] = 'phpmailteam@abc.com'; $headers['Cc'] = implode(', ', $mailCc); $message = 'Test send text e-mail'; $mime =& new Mail_Mime; $result = $mime->setTXTBody($message); $mbody = $mime->get(); $headers = $mime->headers($headers); $mail =& Mail::factory('mail'); $result = $mail->send($mailTo, $headers, $mbody);?>