title: How to send e-mail from form in wordpress
body: <p>I am new in programing and WordPress. I want to send a e-mail from my form with a message, phone, ect. Can anyone tell me how can i do that?
  Here is my code so far...</p>
  
  <pre><code> &lt;div id="form"&gt;
  
  
   &lt;?php 
            add_filter('wp_mail_content_type','set_content_type');
            function set_content_type($content_type){
            return 'text/html';
            }    
  
      ?&gt;
           &lt;div id="name"&gt;
           &lt;p id="username"&gt; Name:&amp;nbsp; &lt;/p&gt;
           &lt;input type="text" name="name" class="textfield"&gt;
           &lt;/div&gt;
           &lt;div id="name"&gt;
           &lt;p id="username"&gt; Email: &amp;nbsp; &lt;/p&gt;
           &lt;input type="text" name="name" class="textfield"&gt;
           &lt;/div&gt;
           &lt;div id="name"&gt;
           &lt;p id="username"&gt; Phone:&amp;nbsp;  &lt;/p&gt;
           &lt;input type="text" name="name" class="textfield"&gt;
           &lt;/div&gt;
           &lt;div id="name"&gt;
           &lt;p id="username"&gt; Message: &lt;/p&gt;
           &lt;input type="text" name="message" class="textarea"&gt;
       &lt;/div&gt;
      &lt;input type="button" value="SEND" id="btn"&gt; 
    &lt;/div&gt;
  </code></pre>
  
  <p><br>
  </p>