swiftmailer\Message setFrom()

setFrom() public method

Sets the message sender.

public $this setFrom ( $from )
$from string|array

Sender email address. You may pass an array of addresses if this message is from multiple people. You may also specify sender name in addition to email address using format: [email => name].

return $this

Self reference.

doc_Yii
2016-10-30 17:13:00
Comments
Leave a Comment

Please login to continue.