whisher wrote:
> 
> Hi,is there a way to send an email with
> multiple Cc.
> With this snippet:
> $body = 'Hi all,Alan';
> $mail = new Zend_Mail();
> $mail->setFrom('[email protected]', 'Alan');
> $mail->addTo('[email protected]', 'Alan');
> $mail->addCc('[email protected]', 'Someone Else');
> $mail->addCc('[email protected]', 'Another Recipient');
> 
> $mail->setSubject('Basketball practice this week');
> $mail->setBodyText($body);
> 
> $mail->send();
> 
> 
> I got a Fatal error.
> 
> Bye.
> 
> Ps
> I also tried passing an array but it doesn't work.
> 

Kind of pointless to ask how to fix an error without letting us know what
the error is, isn't it?

Cheers,
David

--
View this message in context: 
http://zend-framework-community.634137.n4.nabble.com/Send-mail-with-multiple-Cc-tp3556120p3559943.html
Sent from the Zend Framework mailing list archive at Nabble.com.

-- 
List: [email protected]
Info: http://framework.zend.com/archives
Unsubscribe: [email protected]


Reply via email to