title: PHP mail() function hosted on iPage
body: <pre><code>&lt;?php
  $su="";
  
  if(isset($_POST['submit']))
  {
  
      $name=$_POST['name'];
      $email=$_POST['email'];
      $subject=$_POST['subject'];
      $message=$_POST['message'];
      $to='jikkas@gmail.com';
      $subject = 'the subject';
      $message = 'Subject: '.$subject.'&lt;/br&gt;&lt;/br&gt;&lt;/br&gt;'.$message;
      $headers = 'Name: '.$name.'&lt;/br&gt;'.'Email: '.$email;
  
  
     $send= mail($to, $subject, $message, $headers);
  
  
      if ($send)
      {
  
          $su="Thanks for being with us...";
      }
  
  
  } 
  ?&gt;
  </code></pre>
  
  <p>This my email function. But it's not working. My site is hosted on ipage server.</p>