TwistPHP Documentation

setSubject

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

setSubjectSet the subject of the email, this is the brief line of text that a receiver would read in
their client inbox when receiving a new email.

Parameters

Name Type Description
$strSubjectstringn/a

Return Values

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

Example

<?php
//Set the variables for the example
$strSubject 'foo';

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