title: How to add email address in header (from field) in wp_mail
body: <p>I have created contact us form for users where user can add their email address and name. I wish to add these name and email address field in wp_mail headers.
  I am using following code.<BR>
      <code>$headers = 'From: My Name &lt;test12df432abc@gmail.com&gt;' . "\r\n";</code><BR>
      <code>wp_mail($to, $subjects, $message, $headers); // not working</code><BR>
      <code>wp_mail($to, $subjects, $message ); // working</code><BR></p>
  
  <p>I think this happening is because my From: address doesn't match to the domain i'm  sending the email from. But is there any way for me to accomplish above using wp_mail.</p>
  
  <p>I am getting following debugging information using smtp debug
  <BR>
  2017-02-12 13:48:40 CLIENT -> SERVER: QUIT<BR>
  2017-02-12 13:48:40 SMTP -> get_lines(): $data is ""<BR>
  2017-02-12 13:48:40 SMTP -> get_lines(): $str is  "<strong>* <em>.</em>.* Service closing transmission channel<BR>
                                        "
  2017-02-12 13:48:40 SERVER -> CLIENT: *</strong> <em>.</em>.* Service closing transmission channel<BR>
  2017-02-12 13:48:40 Connection: closed<BR></p>