File path: dist/twist/Core/Models/Email/Create.model.php
Namespace: Twist\Core\Models\Email
setFrom
— Set the From email address, this the is the address the email will be sent from.
Optionally you can set a name for the from address in the second parameter.
Name | Description |
---|---|
$strEmailAddress | n/a |
[$strName = ''] | n/a |
void — No return information has been documented for this function.
<?php
//Set the variables for the example
$strEmailAddress = 'foo';
$strName = '';
//Call the function setFrom with the example vars
$resCreate = new \Twist\Core\Models\Email\Create();
$resCreate -> setFrom($strEmailAddress, $strName);