Can I send emails through PHP scripts using SMTP?
Send emails from PHP scripts using SMTP authentication to bypass SPAM filters. This is an effective solution and is permitted on most hosting services.
Emails sent via the PHP mail function will not have all the necessary elements to pass certain SPAM filters and/or SMTP rules. Our recommendation is that if you want to send emails from PHP scripts, you should do so by authenticating via SMTP to an existing email account.
Sending emails through PHP using SMTP authentication is allowed and possible on all hosting packages.