yii\mail\MessageInterface::setFrom PHP 메소드

setFrom() 공개 메소드

Sets the message sender.
public setFrom ( string | array $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]`.
    public function setFrom($from);