TwistPHP Documentation

setBodyPlain

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

setBodyPlainSet the plain text body of the email, not required if you have set a HTML body the plain text can be auto
generated. This will happen if no plain text alternative has been entered.

Parameters

Name Type Description
$strBodystringn/a

Return Values

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

Example

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

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