title: phpmailer not working in godaddy , nor in mail() working
body: <p>I am getting following error when trying to mail from godaddy smtp. </p>
  
  <p>I am getting following errors 
  Warning: require_once(class.phpmailer.php) [function.require-once]: failed to open stream: No such file or directory in filename on line 60</p>
  
  <p>Fatal error: require_once() [function.require]: Failed opening required 'class.phpmailer.php' (include_path='.:/usr/local/php5_3/lib/php') </p>
  
  <pre><code>&lt;?php 
  if (isset($_POST['email']))
  //if "email" is filled out, send email
    {
    //send email
  
   require_once("class.phpmailer.php");
  $mail = new PHPMailer();
  //$mail-&gt;IsSMTP();
  $mail-&gt;SMTPDebug = 1; // 1 tells it to display SMTP errors and messages, 0 turns off all errors and messages, 2 prints messages only.
  $mail-&gt;SMTPAuth = true;
  $mail-&gt;SMTPSecure = "https";
  $mail-&gt;Host = "smtpout.asia.secureserver.net";
  $mail-&gt;Port = 25;
  
  $mail-&gt;Username = "test@mydomain.com" ; // this is email on godaddy account
  $mail-&gt;Password = "password";
  
  $mail-&gt;From = "test@mydomain.com" ;
  $mail-&gt;FromName = "some name" ;
  
  $mail-&gt;AddAddress($_POST['email'], $name);
  //$mail-&gt;AddReplyTo(“Email Address HERE”, “Name HERE”); // Adds a “Reply-to” address. Un-comment this to use it.
  $mail-&gt;Subject = "site no. ".$_POST['site1']." ".$_POST['status']." for you " ;
  $mail-&gt;Body = " Hi, your site  with no. ".$_POST['site1']." in phase ".$_POST['phase1']." has been ".$_POST['status']  ;
  
  if ($mail-&gt;Send() == true) {
  echo "The message has been sent";
  }
  else {
  echo "The email message has NOT been sent for some reason. Please try again later";
  echo "Mailer error: " . $mail-&gt;ErrorInfo;
  }
  
  
    }
  
  ?&gt;
  </code></pre>