Three short questions:
You need to use ->setBcc($email)
and ->setCc($email)
repectively.
Refer to the MessageInterface
class to see the available methods,
See a method below from my ContactForm
Model which sends an email with bcc
cc
and to
/**
* @param $email
*/
private function sendEmail($email)
{
return Yii::$app->mailer->compose()
->setTo($email)
->setBcc($email)
->setCc($email)
->setFrom([$email => 'Omer Aslam'])
->setSubject('some subject')
->setTextBody('test text body email')
->send();
}
Yes it is possible
Hope it helps