I've seen a lot of videos but haven't got a hang of how to send mail
in php.
I've configured the smtp port
and server
along with php.ini
file and also the sendmail.ini
file, changed the auth_username
and password
. However, the code below still does not work!
<?php
mail('xyz@gmail.com','Hello','Testing Testing','From:abc@gmail.com');
?>
Do I need to download anything or change the gmail settings?