WP SMTP can help us to send emails via SMTP instead of the PHP mail() function.