TwistPHP Documentation

generatePlainMessage

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

generatePlainMessageGenerate a plain version of the HTML message using Html2Text

Return Values

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

Example

<?php
//Call the function generatePlainMessage with the example vars
$resCreate = new \Twist\Core\Models\Email\Create();
$resCreate -> generatePlainMessage();