PHPMailer\PHPMailer\PHPMailer::setFrom
Set the From and FromName properties.
Signature
public function setFrom(string
$address,
[string
$name = '',
[boolean
$auto = true]] )
Parameters
$address
— string$name
— string$auto
— boolean- Whether to also set the Sender address, defaults to true
Returns
- bool