WireMail::body() method

Set the email message body (text only)

Example

$m = wireMail();
$m->body('Hello world');

Usage

$m->body(string $body);

Arguments

NameType(s)Description
$bodystring

Email body in text only

Return value

$this

Object instance it was called from (method supports fluent interface).


$m methods and properties

API reference based on ProcessWire core version 3.0.251