Send emails via SMTP instead of the PHP mail() function.