How to Configure XAMPP to Send Mail From Localhost? Send Mail From Localhost XAMPP Using Gmail
To configure XAMPP server to send mail from localhost we have to make changes to two files sendmail.ini and php.ini. Open the xampp folder. By the name of “sendmail.ini” is present in sendmail file and “php.ini” is present in php file in the xampp folder.
How to send Mail using PHP mail() : https://youtu.be/UDPIJkkWqQU
by Code With Yousaf
linux smtp server
what do u mean by gmail id
i get an error that says: Warning: mail(): Failed to connect to mailserver at "localhost" port 25, verify your "SMTP" and "smtp_port" setting in php.ini or use ini_set() in C:xampphtdocscookiessend.php on line 33
how do i fix this 🙁
I don't have the sendmail directory
Thanks mate you helped me much, it worked, but I had to disable secure login to allow a log in with just a password, I didn't find an option for app passwords
i dont have php.ini
Amazing content! Helped me to integrate gmail into my contact page. It's the simple things that often go unexplained and I thank this creator for sharing this with us. 🙂
Thank you. Note: I had to replace this line
sendmail_path = "d:xamppsendmailsendmail.exe -t"
because previous was not working, the format is different, and in the next video I had to add the FROM on the structure form to be able to create the email
im using linux what should I change in php.ini?
I didn't see App password in my gmail account
helped me with my assignment. Thank you brother!
with windows 64bit how i can modify the code ?
is it the same if i use wamp server
thank youuuuuuuu soo much
dont have app password in google account, what should i do?