/** * SMTP MAIL FROM * SUCCESS 250 * @return $this * @throws CodeException * @throws SMTPException */ protected function mailFrom() { $in = "MAIL FROM:<{$this->message->getFromEmail()}>" . $this->CRLF; $code = $this->pushStack($in); if ($code !== '250') { throw new CodeException('250', $code, array_pop($this->resultStack)); } return $this; }