$headers
$headers : array
The email headers
The email class
This class is a tool to send mails
setSender(string $senderEmail, string $senderName = null, boolean $allowReply = true)
Set the Sender value of the mail
string | $senderEmail | The email address to send this mail |
string | $senderName | The email address to send this mail. Default value is null. |
boolean | $allowReply | True to use this address as reply address. Default value is true. Set the Sender value of the mail. This function also sets the ReplyTo value if undefined. If a sender name is provided, it sets the "From" header to NOM \<EMAIL> |