core/components/Mail.php
public function addReplyTo($email, $name = null)
    {
        $this->getMailer()->addReplyTo($email, empty($name) ? $email : $name);
        
        return $this;
    }
public function addReplyTo($email, $name = null)
    {
        $this->getMailer()->addReplyTo($email, empty($name) ? $email : $name);
        
        return $this;
    }
public function addReplyTo ( $ email , $ name = null ) { $ this -> getMailer ( ) -> addReplyTo ( $ email , empty ( $ name ) ? $ email : $ name ) ; return $ this ; }
Add ReplyTo Address.

@param string $email
@param string $name
@return \luya\components\Mail
Add ReplyTo Address .