title: send mail Php Proplem
body: <p>i am having an issue with PHP Mailer. It is sending a only Title of label without the content insert on each label the mail view as this :</p>
  
  <p>Name : </p>
  
  <p>Email: </p>
  
  <p>Subject:</p>
  
  <p>Message:</p>
  
  <p>i do not have any information about php as a code , any help </p>
  
  <p>Html code 
  <div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;section id="contact-page"&gt;
  &lt;div class="container"&gt;
  &lt;div class="center"&gt;
  &lt;h2&gt;Drop Your Message&lt;/h2&gt;
  &lt;/div&gt;
  &lt;div class="row contact-wrap"&gt;
  &lt;div class="status alert alert-success" style="display: none"&gt;&lt;/div&gt;
  &lt;form id="main-contact-form" class="contact-form" name="contact-form" method="post" action="sendemail.php"&gt;
  &lt;div class="col-sm-5 col-sm-offset-1"&gt;
  &lt;div class="form-group"&gt;
  &lt;label&gt;Name *&lt;/label&gt;
  &lt;input type="text" name="name" class="form-control" required="required"&gt;
  &lt;/div&gt;
  &lt;div class="form-group"&gt;
  &lt;label&gt;Email *&lt;/label&gt;
  &lt;input type="email" name="email" class="form-control" required="required"&gt;
  &lt;/div&gt;
  &lt;div class="form-group"&gt;
  &lt;label&gt;Phone&lt;/label&gt;
  &lt;input type="number" class="form-control"&gt;
  &lt;/div&gt;
  &lt;div class="form-group"&gt;
  &lt;label&gt;Company Name&lt;/label&gt;
  &lt;input type="text" class="form-control"&gt;
  &lt;/div&gt;
  &lt;/div&gt;
  &lt;div class="col-sm-5"&gt;
  &lt;div class="form-group"&gt;
  &lt;label&gt;Subject *&lt;/label&gt;
  &lt;input type="text" name="subject" class="form-control" required="required"&gt;
  &lt;/div&gt;
  &lt;div class="form-group"&gt;
  &lt;label&gt;Message *&lt;/label&gt;
  &lt;textarea name="message" id="message" required="required" class="form-control" rows="8"&gt;&lt;/textarea&gt;
  &lt;/div&gt;
  &lt;div class="form-group"&gt;
  &lt;button type="submit" name="submit" class="btnbtn-primary btn-lg" required="required"&gt;Submit Message&lt;/button&gt;
  &lt;/div&gt;
  &lt;/div&gt;
  &lt;/form&gt;
  &lt;/div&gt;
  &lt;/div&gt;
  &lt;/section&gt;</code></pre>
  </div>
  </div>
  </p>
  
  <pre><code>php code 
  &lt;?php
  header('Content-type: application/json');
  $status = array(
      'type'=&gt;'success',
      'message'=&gt;'Thank you for contact us. As early as possible  we will contact you '
  );
  
  $name = @trim(stripslashes($_POST['name'])); 
  $email = @trim(stripslashes($_POST['email'])); 
  $subject = @trim(stripslashes($_POST['subject'])); 
  $message = @trim(stripslashes($_POST['message'])); 
  
  $email_from = $email;
  $email_to = myemail@email.com';
  $body = 'Name: ' . $name . "\n\n" . 'Email: ' . $email . "\n\n" . 'Subject: ' . $subject . "\n\n" . 'Message: ' . $message;
  $success = @mail($email_to, $subject, $body, 'From: &lt;'.$email_from.'&gt;');
  </code></pre>
  
  <p>echojson_encode($status);
  die;</p>