File path: dist/twist/Core/Models/Email/Create.model.php
Namespace: Twist\Core\Models\Email
sanitisePlainMessage
— Sanitise the plain message to ensure no HTML is present, use Html2Text to do this
void — No return information has been documented for this function.
<?php
//Call the function sanitisePlainMessage with the example vars
$resCreate = new \Twist\Core\Models\Email\Create();
$resCreate -> sanitisePlainMessage();