title: SwiftMailer not sending message
body: <p>I'm learning about swift and when a run my code, throws the exception:</p>
  
  <pre><code>Fatal error: Call to undefined method Swift_SmtpTransport::send()
  
  &lt;?php
  
      include_once "swift_required.php";
  
      $subject = 'Hello from Mandrill, PHP!';
      $from = array('you@yourdomain.com' =&gt;'Your Name');
      $to = array(
       'recipient1@example.com'  =&gt; 'Recipient1 Name',
       'recipient2@example2.com' =&gt; 'Recipient2 Name'
      );
  
      $text = "Mandrill speaks plaintext";
      $html = "&lt;em&gt;Mandrill speaks &lt;strong&gt;HTML&lt;/strong&gt;&lt;/em&gt;";
  
      $transport = Swift_SmtpTransport::newInstance('smtp.mandrillapp.com', 587);
      $transport-&gt;setUsername('MANDRILL_USERNAME');
      $transport-&gt;setPassword('MANDRILL_PASSWORD');
  
      $message = new Swift_Message($subject);
      $message-&gt;setFrom($from);
      $message-&gt;setBody($html, 'text/html');
      $message-&gt;setTo($to);
      $message-&gt;addPart($text, 'text/plain');
  
      if ($recipients = $transport-&gt;send($message, $failures))
      {
       echo 'Message successfully sent!';
      } else {
       echo "There was an error:\n";
       print_r($failures);
      }
  </code></pre>
  
  <p><a href="http://pastebin.com/vBNSxgWq" rel="nofollow">http://pastebin.com/vBNSxgWq</a></p>