public setBody ( string $content, string $type = 'text/html', string $charset = 'utf-8' ) : Webiny\Component\Mailer\MessageInterface | ||
$content | string | The content of the body. |
$type | string | Content type. Default 'text/html'. |
$charset | string | Content body charset. Default 'utf-8'. |
return | Webiny\Component\Mailer\MessageInterface |