You can use PHPMailer class to send emails using SMTP authentication from your PHP script.
You can obtain a sample PHP code from the following article - Send mail via PHP script using PHPMailer.
You can use PHPMailer class to send emails using SMTP authentication from your PHP script.
You can obtain a sample PHP code from the following article - Send mail via PHP script using PHPMailer.