TwistPHP Documentation

setCustomSender

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

setCustomSenderSet a custom sender record if required

Parameters

Name Type Description
[$strEmailAddress = null]stringn/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 null;
$strName '';

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