views:

150

answers:

1

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'));
+1  A: 

compose() return a Swift_Message object, you can use setBcc() or addBcc() methods as you would with swift

ftassi