PHP script to send email using SMTP Despite php already having a mail function called mail(), SMTP sendmail script is preferable. Most importantly, it allows you to bypass the antispam filters, most of which which are set to block the PHP-mail by default. Read More →