title: Could not instantiate mail function. Why this error occurring
body: <p>When I'm trying to send mail through PHPMailer, i'm getting this error message. My code is below:</p>
  
  <pre><code>&lt;?
  require("phpmailer/class.phpmailer.php"); // First we require the PHPMailer libary in our script
  $mail = new PHPMailer(); // Next we create a new object of the PHPMailer called $mail
  $mail-&gt;From = "rajasekar.kcet@gmail.com";
  $mail-&gt;FromName = "Rajasekar";
  $mail-&gt;AddAddress("rajasekar.kcet@gmail.com"); // This is the adress to witch the email has to be send.
  $mail-&gt;Subject = "First PHP Email message"; // This is the subject  of the email message.
  $mail-&gt;Body = "Hi! \n\n This is my first e-mail sent through PHP."; // This is the actual email message
  if(!$mail-&gt;Send()) // Now we send the email and check if it was send or not.
  {
     echo 'Message was not sent.';
     echo 'Mailer error: ' . $mail-&gt;ErrorInfo;
  }
  else
  {
     echo 'Message has been sent.';
  }
  ?&gt;
  </code></pre>