Set the email message body (HTML only)
This should be the text from an entire HTML document, not just an element.
Example
$m = wireMail();
$m->bodyHTML('<html><body><h1>Hello world</h1></body></html>');
Usage
$m->bodyHTML(string $body);
Arguments
Name | Type(s) | Description |
---|---|---|
body | string | Email body in HTML |
Return value
$this
Object instance it was called from (method supports fluent interface).
API reference based on ProcessWire core version 3.0.236