Swift_Mime_SimpleMessage::setFrom
Set the from address of this message.
You may pass an array of addresses if this message is from multiple people. If $name is passed and the first parameter is a string, this name will be associated with the address.
Signature
public function setFrom(string
$addresses,
[string
$name = null] )
Parameters
$addresses
— string$name
— string- optional
Returns
- Swift_Mime_SimpleMessage