I'm trying to send emails from my php localhost.
I edited the following files according to a working tutorial (https://www.youtube.com/watch?v=TO7MfDcM-Ho)
php.ini
and sendmail.ini
Used gmail smtp server in sendmail.ini
smtp_server=smtp.gmail.com
smtp_port=587
auth_username=myemail
auth_password=mypass
When I tried to send the mail, there isn't any error but the mail isn't receiving.
Can anybody tell me where did I go wrong? Should I change anything in the gmail account which I used for the authentication in sendmail.ini
?