Lines Matching refs:command
67 public function __construct($command="/usr/sbin/sendmail -bs", $timeout=10) argument
69 $this->setCommand($command);
166 public function setCommand($command) argument
168 if ($command == self::AUTO_DETECT) $command = $this->findSendmail() . " -bs";
170 if (!strrpos($command, " -"))
174 $path = substr($command, 0, strrpos($command, " -"));
175 $flags = substr($command, strrpos($command, " -")+2);
192 protected function pipeIn($command, $end="\r\n") argument
195 …pes[0], $command . $end) && !empty($command)) throw new Swift_ConnectionException("The sendmail p…
257 public function write($command, $end="\r\n") argument
261 … if (!$this->send && strpos($command, " ")) $command = substr($command, strpos($command, " ")+1);
264 $this->pipeIn($command);
266 $this->request = $command;
267 $this->send = (strtolower($command) == "data");
269 else $this->pipeIn($command, $end);