title: Problems with php/html "mail" function
body: <p>(edited: i tryed to translate the code from portuguese to english and i amde some mistakes, but the code istill dosent wokr)</p>
  
  <p>Ok, so i was just practicing a bit of PHp, so i decided to test the "mail" fucntion to see if i can send a email to myself trough the page im creating, but it is not working and i dont know how here are the codes:</p>
  
  <p>This is the form File </p>
  
  <pre><code>&lt;html&gt;
  &lt;head&gt;
      &lt;title&gt;Form to send email&lt;/title&gt;
      &lt;style&gt;
          textarea{
              resize:none;
          }
          &lt;/style&gt;
  &lt;/head&gt;
  &lt;body&gt;
      &lt;form method="post" action="Send_to_e-mail.php"&gt;
          &lt;p&gt;Destiny(email): &lt;input type="text" name="destiny" required/&gt;
          &lt;p&gt;Subject: &lt;input type="text" name="subject" required/&gt;&lt;/p&gt;
          &lt;p&gt;Message: &lt;br&gt;&lt;textarea rows="5" cols="50" name="message" required/&gt;  &lt;/textarea&gt;&lt;/p&gt;&lt;br&gt;              
          &lt;input type="submit" value="Send e-mail"/&gt;
  
      &lt;/form&gt;
  
  &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>
  
  <p>This is in another php file(Send_to_e-mail.php)</p>
  
  <pre><code>&lt;?php
  
  $destiny=$_POST["destiny"];
  $subject=$_POST["subject"];
  $message=$_POST["message"];
  
  
  mail($destiny,$subject,$message);
  
  
  
  ?&gt;
  </code></pre>