yii\mail\MessageInterface::setReplyTo PHP Method

setReplyTo() public method

Sets the reply-to address of this message.
public setReplyTo ( string | array $replyTo )
$replyTo string | array the reply-to address. You may pass an array of addresses if this message should be replied to multiple people. You may also specify reply-to name in addition to email address using format: `[email => name]`.
    public function setReplyTo($replyTo);