/** * Constructor * @param array faked extensions */ public function __construct() { SmtpMsgStub::setExtensions(array()); }
/** * Try to get a suitable response after a message was sent * @return string response */ public function getMessageRejected() { $this->ending = "\r\n"; $this->dataSent = false; $this->to = array(); $this->from = ""; return SmtpMsgStub::badCommand("Sorry but PHP mail() rejected the command"); }