reply_to() public method

Set Reply-to
public reply_to ( $replyto, $name = '' ) : CI_Email
return CI_Email
 public function reply_to($replyto, $name = '')
 {
     $replyto = (string) $replyto;
     $name = (string) $name;
     if ($this->mailer_engine == 'phpmailer') {
         if (preg_match('/\\<(.*)\\>/', $replyto, $match)) {
             $replyto = $match['1'];
         }
         if ($this->validate) {
             $this->validate_email($this->_str_to_array($replyto));
         }
         if ($name == '') {
             $name = $replyto;
         }
         $this->phpmailer->addReplyTo($replyto, $name);
         $this->_replyto_flag = TRUE;
     } else {
         parent::reply_to($replyto, $name);
     }
     return $this;
 }