File path: dist/twist/Core/Models/Email/Create.model.php
Namespace: Twist\Core\Models\Email
setBodyHTML
— Set the HTML body of the email, you can have a plain text only email if required. Full HTML and CSS support, bear in mind that
different mail clients will display HTML in different ways. Testing is key here.
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 setBodyHTML with the example vars
$resCreate = new \Twist\Core\Models\Email\Create();
$resCreate -> setBodyHTML($strBody);