public function setReplyTo($email) {
    if (!$this->checkValidEmail($email)) {
      throw new \InvalidArgumentException(
          "Invalid reply-to: ". htmlspecialchars($email));
    }
    $this->message->setReplyto($email);
  }
public function setReplyTo($email) {
    if (!$this->checkValidEmail($email)) {
      throw new \InvalidArgumentException(
          "Invalid reply-to: ". htmlspecialchars($email));
    }
    $this->message->setReplyto($email);
  }
public function setReplyTo ( $ email ) { if ( ! $ this -> checkValidEmail ( $ email ) ) { throw new \ InvalidArgumentException ( "Invalid reply-to: " . htmlspecialchars ( $ email ) ) ; } $ this -> message -> setReplyto ( $ email ) ; }
Sets a reply-to address for the mail object.

@param string $email Reply-to address.
@throws \InvalidArgumentException If the input reply-to address is an
invalid email address.
Sets a reply - to address for the mail object .