title: How to setup mail in XAMPP locally?
body: <p>I'm learning PHP and have installed XAMPP on my computer.</p>
  <p>But I have a problem with the setup as the email option doesn't seem to be working.</p>
  <p>After doing some reading I think it has something to do with the below, found on my server in the php.ini file</p>
  <pre><code>[mail function]   
  ; For Win32 only.   
  ; *hp://*php.net/smtp   
  SMTP = localhost  
  ; http://php.net/smtp-port   
  smtp_port = 25   
    
  ; For Win32 only.   
  ; http://php.net/sendmail-from   
  ;sendmail_from = postmaster@localhost   
  </code></pre>
  <p>Is there anything I need to change? I have seen software such as swiftmailer mentioned but I don't know if XAMPP has this included already?</p>