title: Phpmailer from address failed
body: <p>I currently have my site hosted on freehostia, which doesn't allow SMTP.  As a work around for this I created an account at Zoho (www.zoho.com) which lets you link your domain to their server and send and receive email through them.
  I have also installed phpmailer on my host as instructed.  </p>
  
  <p>I have created a test file using the smtp information given by Zoho, and as far as I can tell everything is set up correctly.<br>
  The problem is that when I try to send mail I get the error:
  <strong>Mailer Error: The following From address failed: donotreply@domain.com : Called Mail() without being connected</strong></p>
  
  <p>The code I have for my test file looks like this:</p>
  
  <pre><code>&lt;?php
  require '../PHPMailer-master/class.phpmailer.php';
  
  $mail = new PHPMailer();
  
  $mail-&gt;IsSMTP();
  
  $mail-&gt;SMTPAuth = true;
  
  $mail-&gt;SMTPSecure = "ssl";
  
  $mail-&gt;Host = "smtp.zoho.com";
  
  $mail-&gt;Port = 465;
  
  $mail-&gt;Username = "donotreply@domain.com";
  
  $mail-&gt;Password = "mypassword";
  
  $mail-&gt;From = "donotreply@domain.com";
  
  $mail-&gt;FromName = "Domain";
  
  $mail-&gt;AddAddress("testaddress@gmail.com");
  
  $mail-&gt;Subject = "Test with PHPMailer";
  
  $mail-&gt;Body = "This is a sample body text!";
  
  $mail-&gt;IsHTML (true);
  
  if(!$mail-&gt;Send()) {
    echo "Mailer Error: " . $mail-&gt;ErrorInfo;
  } else {
    echo "Message sent!";
  }
  
  ?&gt;
  </code></pre>
  
  <p>Any advice?</p>