title: How to send email from localhost using PHP on Linux
body: <p>I know that to send e-mail from localhost on Windows, you need to change SMTP server in php.ini however this is valid only on Windows: </p>
  
  <pre><code>[mail function]
  ; For Win32 only.
  ; http://php.net/smtp
  SMTP = localhost
  ; http://php.net/smtp-port
  smtp_port = 25
  </code></pre>
  
  <p>So what I should do to be able send e-mails from Linux OS?</p>