/** * Try to get the EHLO response * @return string response */ public function getEHLO() { if (!$this->validCommandSent) { $this->validCommandSent = true; return SmtpMsgStub::EHLO(); } else { return $this->getBadCommand(); } }