Example #1
0
 /**
  * Constructor
  * @param array faked extensions
  */
 public function __construct()
 {
     SmtpMsgStub::setExtensions(array());
 }
Example #2
0
 /**
  * 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");
 }