WireMail::fromName() method

Set the 'from' name

It is preferable to do this with the from() method, but this is provided to ensure that all properties can be set with direct access, i.e. $mailer->fromName = 'User Name';

Usage

$m->fromName(string $name);

Arguments

NameType(s)Description
$namestring

The 'from' name

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