How to Configure XAMPP to Send Mail From Localhost? Send Mail From Localhost XAMPP Using Gmail
Vložit
- čas přidán 21. 02. 2023
- 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() : • How To Send Email Usin...
helped me with my assignment. Thank you brother!
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. :)
You're legend!
thank youuuuuuuu soo much
Thank you. Note: I had to replace this line
sendmail_path = "d:\xampp\sendmail\sendmail.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
Me too. After changing that line it worked.
merci beaucoup j'ai resolu le probleme🥰
is it the same if i use wamp server
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
with windows 64bit how i can modify the code ?
I don't have the sendmail directory
what do u mean by gmail id
not found sendemail folder !!!
dont have app password in google account, what should i do?
Watch this 1 min video:
czcams.com/video/Gu4ifdBkrNM/video.html
im using linux what should I change in php.ini?
How can i reach on to you pls
I didn't see App password in my gmail account
go to security tab then turn on two step authentication after you will see it under two step auth
Yours may be different from the video uploader, me too, that's after you click into 2 step authentication and roll to the bottom, you can
type (app) on the search box it will apear
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:\xampp\htdocs\cookies\send.php on line 33
how do i fix this :(
@nithin6654 i think so! i had to restart xampp. open xampp control panel, click "stop" on apache and mysql, click "start" after successfully stopped and thats all.
@@nithin6654i think so! i had to open xampp control panel click "stop" on apache and mysql, then click "start" after both have stopped completely
@@nithin6654 did you get the same error too? And were you able to solve it?
@@Alpha_Precious no
@@nithin6654 damn! I need this feature for my project. Did you find another method that was successful elsewhere?