title: How does PHP's `mail` work?
body: <p>PHP's <code>mail</code> function seems to deliver mail on a clean system, with no apparent configuration done by the administrator or webmaster (no SMTP configuration in <code>php.ini</code>, etc.). How does the <code>mail</code> function deliver mail to a remote server?</p>