File path: dist/twist/Core/Models/Email/Create.model.php
Namespace: Twist\Core\Models\Email
setBodyPlain
— Set 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.
Name | Description |
---|---|
$strBody | n/a |
void — No return information has been documented for this function.
<?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);