Swift_Mime_SimpleMessage::addFrom
Add a From: address to this message.
If $name is passed this name will be associated with the address.
Signature
public function addFrom(string
$address,
[string
$name = null] )
Parameters
$address
— string$name
— string- optional
Returns
- Swift_Mime_SimpleMessage