TwistPHP Documentation

addBcc

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

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.

Parameters

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

Return Values

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

Example

<?php
//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);