Lines Matching full:command

52    * Switches to true for just one command when DATA has been issued
64 * @param string The command to execute
67 public function __construct($command="/usr/sbin/sendmail -bs", $timeout=10) argument
69 $this->setCommand($command);
162 * Set the sendmail command (path + flags)
163 * @param string Command
164 * @throws Swift_ConnectionException If the command is not correctly structured
166 public function setCommand($command) argument
168 if ($command == self::AUTO_DETECT) $command = $this->findSendmail() . " -bs";
170 if (!strrpos($command, " -"))
172 …throw new Swift_ConnectionException("Cannot set sendmail command with no command line flags. e.g. …
174 $path = substr($command, 0, strrpos($command, " -"));
175 $flags = substr($command, strrpos($command, " -")+2);
180 * Get the sendmail command (path + flags)
188 * Write a command to the open pipe
189 * @param string The command to write
192 protected function pipeIn($command, $end="\r\n") argument
195 …pes[0], $command . $end) && !empty($command)) throw new Swift_ConnectionException("The sendmail p…
253 * Write a command to the process (leave off trailing CRLF)
254 * @param string The command to send
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);
293 …"Sendmail cannot be seen with lstat(). The command given [" . $this->getCommand() . "] does not a…