title: I could not understand this error(swiftmailer) .i have exceptioned out port 25 still coudnot understand. please help me out?
body: <pre class="lang-php prettyprint-override"><code>$transport = Swift_SendmailTransport::newInstance();
  $mailer = \Swift_Mailer::newInstance($transport);
  
  $message = \Swift_Message::newInstance();
  $message-&gt;setSubject('Email From Our Website');
  $message-&gt;setFrom(array(
      $cleanEmail =&gt; $cleanName
  ));
  $message-&gt;setTo(array('talhagillani96@gmail.com'));
  $message-&gt;setBody($cleanMessage);
  
  $result = $mailer-&gt;send($message);
  
  if($result &gt; 0) {
      $app-&gt;flash('success', 'Thanks So Much! You are AWESOME!!!');
      $app-&gt;redirect('/');
  
  } else {
      $app-&gt;flash('fail', 'So Sorry, Something Went Wrong.Try Again!');
      // log that there was an error
      $app-&gt;redirect('/contact');
  }
  </code></pre>
  
  <p>Slim Application Error The application could not run because of the following error:</p>
  
  <blockquote>
    <p>Details  Type: Swift_TransportException Message: Process could not be    started [The system cannot find the path specified. ]<br>
    File: C:\xampp\htdocs\Projects\php2015\vendor\swiftmailer\swiftmailer\lib\classes\Swift\Transport\StreamBuffer.php Line: 294 Trace  #0 C:\xampp\htdocs\Projects\php2015\vendor\swiftmailer\swiftmailer\lib\classes\Swift\Transport\StreamBuffer.php(58): Swift_Transport_StreamBuffer->_establishProcessConnection() #1 C:\xampp\htdocs\Projects\php2015\vendor\swiftmailer\swiftmailer\lib\classes\Swift\Transport\AbstractSmtpTransport.php(113): Swift_Transport_StreamBuffer->initialize(Array) #2 C:\xampp\htdocs\Projects\php2015\vendor\swiftmailer\swiftmailer\lib\classes\Swift\Transport\SendmailTransport.php(51): Swift_Transport_AbstractSmtpTransport->start() #3 C:\xampp\htdocs\Projects\php2015\vendor\swiftmailer\swiftmailer\lib\classes\Swift\Mailer.php(79): Swift_Transport_SendmailTransport->start() #4 C:\xampp\htdocs\Projects\php2015\index.php(41): Swift_Mailer->send(Object(Swift_Message)) #5 [internal function]: {closure}() #6 C:\xampp\htdocs\Projects\php2015\vendor\slim\slim\Slim\Route.php(468): call_user_func_array(Object(Closure), Array) #7 C:\xampp\htdocs\Projects\php2015\vendor\slim\slim\Slim\Slim.php(1357): Slim\Route->dispatch() #8 C:\xampp\htdocs\Projects\php2015\vendor\slim\slim\Slim\Middleware\Flash.php(85): Slim\Slim->call() #9 C:\xampp\htdocs\Projects\php2015\vendor\slim\slim\Slim\Middleware\MethodOverride.php(92): Slim\Middleware\Flash->call() #10 C:\xampp\htdocs\Projects\php2015\vendor\slim\slim\Slim\Middleware\SessionCookie.php(110): Slim\Middleware\MethodOverride->call() #11 C:\xampp\htdocs\Projects\php2015\vendor\slim\slim\Slim\Middleware\PrettyExceptions.php(67): Slim\Middleware\SessionCookie->call() #12 C:\xampp\htdocs\Projects\php2015\vendor\slim\slim\Slim\Slim.php(1302): Slim\Middleware\PrettyExceptions->call() #13 C:\xampp\htdocs\Projects\php2015\index.php(53): Slim\Slim->run() #14 {main}</p>
  </blockquote>