TwistPHP Documentation


File path: dist/twist/Core/Models/Email/Create.model.php
Namespace: Twist\Core\Models\Email

addBccAdd the Bcc (Blind Carbon Copy) address for the email, you can add as many Bcc fields as you need.
Optionally you can put the persons full name in the second parameter if you know it. Note that Bcc will
send a copy of the email to the user but none of the addressed To and Cc users will be aware of this.


Name Type Description
[$strName = '']stringn/a

Return Values

void — No return information has been documented for this function.


//Set the variables for the example
$strEmailAddress 'foo';
$strName '';

//Call the function addBcc with the example vars
$resCreate = new \Twist\Core\Models\Email\Create();
$resCreate -> addBcc($strEmailAddress$strName);