symfony 1.4 adding a BCC recipient to mailer

Posted by Matt on Stack Overflow See other posts from Stack Overflow or by Matt
Published on 2010-03-22T18:08:15Z Indexed on 2010/03/22 18:11 UTC
Read the original article Hit count: 300

Filed under:
|

I know with swift directly you can create a Recipient_List and do ->addBcc() . How would i do this same thing in the context of symfony 1.4

$message = $this->getMailer()->compose();
$message->setSubject(sfConfig::get('app_email_welcome_subject'));
$message->setTo($user->getUsername());
$message->setFrom(sfConfig::get('app_email_from'));

© Stack Overflow or respective owner

Related posts about symfony-1.4

Related posts about swiftmailer