THANKYOU SO MUCH BROTHER!! IT WORKS!!!!! I can't express how much happy I am when I finally saw the result of my thesis project. After a half day of finding this kind of video, THANKYOUSOMUCH!!!
after watching udemy lec from 5 days even unbale to send my msg from local host to email. Then I came to your video, and a very big thanks to you bro . I did same within 15 minutes. its working perfectly. Many many thanks to you bro. Btw one more subscriber have joined your channel. :-)
What to do if google mail is blocking your incoming mail,' it isn't from a trusted platform? There are no google settings to change on the email side. * Critical security alert! Sign-in attempt was blocked *
all the videos ive seen till now this is the best one out of all...lot of explaining done which was was very useful for understanding what to do..10/10
It worked for me after i adjusted my email security(temporarily of course). I went to my spam and saw a security alert. I then followed link to adjust. Thanks for help!
Thanks a lot Bro for this video. I was trying to execute this function from 2 days and saw lots of video.. But couldn't find the right method. This is the best video. thank you once again..
Brother I got successful sent information but email is not arriving in mailbox even though checked in spam and turned on LESS SECURE APP so what might be the issue??
Thanks, the solution is straightforward. However, before the xampp setting suggested, it was showing error. but now error or warning but mail is not sent. I waited for more than a day, restarted xampp and rechecked the codes you recommended. Please help. The localhost/checkingmail.php is blank and no e mail as well as been triggered.
Warning: mail() [function.mail]: "sendmail_from" not set in php.ini or custom "From:" header missing in C:\xampp\htdocs\email_verification\checkmail.php on line 5 error. plz help
Hello! I kind of need some help. Mine says that it worked, but nothing actually sent. What should I do? To test, I added this below the mail function: if (mail($rec, $sub, $msg)) { echo "Message accepted"; } else{ echo "Error: Message not accepted"; } It will say that the message was accepted, but nothing actually happened. I checked the spam folder as well and nothing is there either.
sir how to send mail's for multiple users with different content, like each person data which is stored in xampp should be sent to their mail's using php?
Hello there. I think i have another problem i hope you have a solution. Yesterday after I did perfectly the same as it is in you video and actually it worked. But today i have tried to send email but it seems not to work and all my files are just the same as they were when i was sending yesterday.When i check the error.log file i says 'Connection Closed Gracefully'. Please help if you have any solution
Run apache as administrator. If that dosen't work. Then in sendmail.ini file change smtp_ssl = auto to "ssl" or "tls" or "none" according to server. But dont use "smtp_ssl=auto". Let me know if it works.
Warning: mail(): SMTP server response: 530 5.7.0 Must issue a STARTTLS command first. b23sm8676089pfo.62 - gsmtp in C:\xampp\htdocs egistration\sending_mail.php on line 9 Email sending failed... How to solve this particular problem?
sir didnot send the email, i use some if else condition for success . here is my code: if(mail($rec,$sub,$msg)) { echo "success"; } else { echo "fail"; } i did all what you do ...pls help
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\checkmail.php on line 8
I also reset my xampp and it worked, I also made sure that it was administrator mode. Also careful that you don't disable or any doubled up contradicted code.
Hey hii bro I am not able to send the mail. I have done the exact same thing as you have mentioned. Kindly help me.I have installed Xampp in my E drive.
So as you have xampp in E drive make sur you write path everywhere in code as of your e drive. Also make sure you are copying the exact code and smtp porta and exact syntax. If still its not working then write the error code. Good luck.
See the code of php.ini file in description section and set a valid email address in sendmail_from field. I think you didn't put your email id in sendmail_from field.
Is you local host running? Is your apache service running? Please find your correct local host url, may be you have changed your port. Also, make sure you are using correct ports.
@@siriykeiceweb4125 I watched three tutorials and restarded xampp, no error in console.log but still didn't received email! :(( Can't work anything I do ...
make sure you give your inputs and submit button a "name = "someName". Then make some variables calling those elements in a .php file example "contact.php". Then add file name to " action = "contact.php" in your html file. There are tutorials online...
sendmail built in function did not work for me even if I reformatted my laptop but phpmailer did.. sendmail worked on the other computer that I use which is win7 32-bit.. and also with win10 64-bit.. my Laptop's os is win8.1 64-bit.. I think the problem is with the os version
@@paulorellon2283 Sorry facing the same problem like you. However I tried phpMailer in XAMPP as well. The error code reported me the server is not responding me (10060). Can you help me with that?
I also had the same problem. I have tried all the methods. But the thing was Avast antivirus is blocking the mail. But after disabling Avast. The mail was sent successfully. Hope this can help someone.
THANKYOU SO MUCH BROTHER!! IT WORKS!!!!! I can't express how much happy I am when I finally saw the result of my thesis project. After a half day of finding this kind of video, THANKYOUSOMUCH!!!
after watching udemy lec from 5 days even unbale to send my msg from local host to email.
Then I came to your video, and a very big thanks to you bro . I did same within 15 minutes. its working perfectly.
Many many thanks to you bro.
Btw one more subscriber have joined your channel. :-)
where did you base your SMTP Port?
What to do if google mail is blocking your incoming mail,' it isn't from a trusted platform? There are no google settings to change on the email side. * Critical security alert! Sign-in attempt was blocked *
from the mail google has sent for you, click the check activity button and go for Allow less secure apps: ON, once u made it on access will be allowed
all the videos ive seen till now this is the best one out of all...lot of explaining done which was was very useful for understanding what to do..10/10
It worked for me after i adjusted my email security(temporarily of course). I went to my spam and saw a security alert. I then followed link to adjust. Thanks for help!
sir , how do you do that?
I did this , and it shows that my email is sent but I'm not receiving the email. What will I do?
Thanks a lot Bro for this video. I was trying to execute this function from 2 days and saw lots of video.. But couldn't find the right method. This is the best video. thank you once again..
Thanks,after changing the smtp port to 465, everythx went perfectly
Before the xampp setting there was showing error. but now error or warning is not showing but mail does'n come yet.
You can try changing the SMTP port to 465. If it doesn't work try 587.
Fantastic. Its working with port 465 for me. It blocked from google initially but i changed the settings to allow from low apps.
Thank you for the video bro ,i have refered to many videos and tutorial nothing helped me out only your video helped me
thanks a lot
6:29 where we can write our password here? Plz tell me ..my mail function show no errors but dont send mail eighter
Nice work bro🤙🤙
Thank you
Brother I got successful sent information but email is not arriving in mailbox even though checked in spam and turned on LESS SECURE APP so what might be the issue??
th-cam.com/video/L5uCc8Hab-I/w-d-xo.html
Please watch this updated video.
nice tutorial... make more videos in php topic like how to secure php based websites etc... that will helpful to us..
Email has been send successfully. But not show in my inbox. I was changed all of the setting
Thanks, the solution is straightforward. However, before the xampp setting suggested, it was showing error. but now error or warning but mail is not sent. I waited for more than a day, restarted xampp and rechecked the codes you recommended. Please help. The localhost/checkingmail.php is blank and no e mail as well as been triggered.
You can try changing the SMTP port to 465. If it doesn't work try 587.
what's the difference in using a mass envoy program to use this?
so finally worked after this tutorial..........thanks man
I used the same procedure but didn't succeed. There is neither any error nor mail sent.
Warning: mail() [function.mail]: "sendmail_from" not set in php.ini or custom "From:" header missing in C:\xampp\htdocs\email_verification\checkmail.php on line 5 error. plz help
Check the entries in mail function in php.ini file
Hello! I kind of need some help. Mine says that it worked, but nothing actually sent. What should I do? To test, I added this below the mail function:
if (mail($rec, $sub, $msg))
{
echo "Message accepted";
}
else{
echo "Error: Message not accepted";
}
It will say that the message was accepted, but nothing actually happened. I checked the spam folder as well and nothing is there either.
May be something wrong from email service side.
I can't see c:\\xampp\sendmail directory how can I get it?
thank you so much!! very easy to follow and worked on my first try!
sir
how to send mail's for multiple users with different content, like each person data which is stored in xampp should be sent to their mail's using php?
Thank you bro ur video is very help full
Thanks a lot. I have watched watched my videos on this top but this one is superb. Thank you very much
Hello there. I think i have another problem i hope you have a solution. Yesterday after I did perfectly the same as it is in you video and actually it worked. But today i have tried to send email but it seems not to work and all my files are just the same as they were when i was sending yesterday.When i check the error.log file i says 'Connection Closed Gracefully'. Please help if you have any solution
Run apache as administrator. If that dosen't work. Then in sendmail.ini file change smtp_ssl = auto to "ssl" or "tls" or "none" according to server. But dont use "smtp_ssl=auto".
Let me know if it works.
The email was sent but unfortunately, Gmail blocked it so no mail came in the box. It says Sign-in attempt was blocked.
See this update method th-cam.com/video/L5uCc8Hab-I/w-d-xo.html
good, it's helpful broo, it has worked for me. appreciate
i try to do that .. but didt work
my windows is 64bits ... its thar a problem?
why on my laptop there is no sendmail file?
Username and Password not accepted. i have an error this. I have enter right credential but i have an error on this Username and Password not accepted
should we install fake send mail? when installing xampp
Warning: mail(): SMTP server response: 530 5.7.0 Must issue a STARTTLS command first. b23sm8676089pfo.62 - gsmtp in C:\xampp\htdocs
egistration\sending_mail.php on line 9
Email sending failed...
How to solve this particular problem?
Please try changing port to 465
Thank you bro. It worked. It helped me a lot.
Sir... Jab mail send karta h to send mail successful to likha aata h but recipient email par mail nhi aata..
Pta nhi sir kya problem h
You can try changing the SMTP port to 465. If it doesn't work try 587.
i didn't find the folder sendmail in folder xampp
what can i do ? help me please
That's wierd, did you install all the components during xampp installation?
sir didnot send the email,
i use some if else condition for success .
here is my code:
if(mail($rec,$sub,$msg))
{
echo "success";
}
else
{
echo "fail";
}
i did all what you do ...pls help
Is it working without if else
is not working.......i think SMTP protocol is blocked in our university, how can i correct
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\checkmail.php on line 8
I think there is something wrong with your smtp settings.
If you are using gmail then use smtp.gmail.com in smtp setting on both files.
Never mind it's working. Appears i didn't restart my XAMPP.
Thank you very much. You just saved me my job!
Welcome 😆
Thats the error am also having here, pls how can i resolve it ??
I also reset my xampp and it worked, I also made sure that it was administrator mode. Also careful that you don't disable or any doubled up contradicted code.
Thank you, very much. I have been solved my problem with this video
You saved my school project
10/10 Keep up the good work!
i didn't recieve mail, what could be the cause
You can try changing the SMTP port to 465. If it doesn't work try 587.
Got me working! Thanks!
Thanks much dude....its working😻
Hey hii
bro I am not able to send the mail. I have done the exact same thing as you have mentioned. Kindly help me.I have installed Xampp in my E drive.
So as you have xampp in E drive make sur you write path everywhere in code as of your e drive. Also make sure you are copying the exact code and smtp porta and exact syntax. If still its not working then write the error code. Good luck.
but i dont have a send mail folder in my xampp folder.What to do??
I think you need to uninstall xampp completely and then reinstall it. I think your installation was not properly done.
Have need to seto our email adress to .ini files?
Mail code is successful but didn't get any mail what is the problem
Are you getting some error code? Have you started apache? Is your webpage is loading?
Please check the log file and see the error code.
mail(): "sendmail_from" not set in php.ini or custom "From:" header missing in
how to solve this type of error
See the code of php.ini file in description section and set a valid email address in sendmail_from field.
I think you didn't put your email id in sendmail_from field.
this video helped me a lot ....... thank you so much
Actually saved me so much time in configuring XAMPP for mail use. 10/10
put me through i didnt get mail on my email acct
@@richardnwachukwu187 and me too
i do not get all message eventhough follow bit by bit, there is no error
May be you nee to do with google application password method. Generate your gmail application password and then use it place of original password.
Sir i want to talk with u...i have a problem on php sending mail please help me
Please see the updated video, it will help you.
Sendmail folder not exist in xampp directory.
Please check your Xampp installation.
i have done all the things but still mail is not going
Try this th-cam.com/video/L5uCc8Hab-I/w-d-xo.html
you forgot the php code in the video description
Thanks will update it soon.
Thanks alot bro...ITS WORKING
thank you so much for this informative video
it works! thank you so much!
Very good video
Nice video! How is it that my Xampp doesn't have an sendmail.ini
Have you installed all the components during installation?
@@DevAnsab Oh I'm not too sure, how do I install the rest of the components?
Can i do this in vscode? Thank you
Yes, any text editor will work.
this is my error
: mail(): Bad Message Return Path in on line
Thanks a lot bro.....
You're great.
sir i use your method but i does not send any mail
Try changing SMTP port to 465
I didnt become any error messages. But there are no emails on my account. I do it exactly like you
Try using gmail application password. Search on Google for more.
Sir can you help me ?
It does not work with my xampp
Try this video th-cam.com/video/L5uCc8Hab-I/w-d-xo.html
can this configuration work for java mail, how to send java mail from xampp
Sorry man can't help with that 😔
Thanks for watching this.
it works , thank you
Thanks a lot it really helpful
i try to do that .. but didnt work
I got the error that host not found
How to solve it
Is you local host running? Is your apache service running? Please find your correct local host url, may be you have changed your port.
Also, make sure you are using correct ports.
My localhost and appache server is running
I use port 587 and also try 465 but
Till get host not found error
Thank you very Much, It Works
put me through i didnt get mail on my email acct
It works.. Thank you.
bai thank you.great tutorial
Do not receiving email what can i do
After all the settings, just make sure you restart your xampp. if not, it won't work.
@@siriykeiceweb4125 I watched three tutorials and restarded xampp, no error in console.log but still didn't received email! :((
Can't work anything I do ...
nice job thanks!!!!!!!!!!!!!!!!!!
Good.. it's work correctly
hey, how do i include this in my contact form?
Hey thanks for asking. As i dont have much knowledge of HTML so i am sorry i can't help you with that.
Thank for watching.
make sure you give your inputs and submit button a "name = "someName". Then make some variables calling those elements in a .php file example "contact.php". Then add file name to " action = "contact.php" in your html file. There are tutorials online...
I GOT THE PROBLEM !!! U HAVE TO COMMENT THE LINE WHiCH CONTAINTs extension=php_ftp.dll by using a ;
In which file?
is this will work on xampp 1.6.5 ?
Yes it will work. Make sure you first revert all the changes to its original state if you have followed some other tutorial.
bro i dont have any send mail folder
Did you install sendmail with xampp?
@@DevAnsab how do i install it now?
@@DevAnsab i think i installed only xampp
Install xampp again with all the components.
It doesn't works as i follow step by step
Set application password on your gmail.. It will give you a 16 digit password and use it here.. Google how to get application password in gmail
bro mail should not be send to my mail
Use application password feature in gmail. That should work.
I think this only works for 32 bit OS
Mine was 64bit.
I think there is some version issues
You can try changing the SMTP port to 465. If it doesn't work try 587.
sendmail built in function did not work for me even if I reformatted my laptop but phpmailer did.. sendmail worked on the other computer that I use which is win7 32-bit.. and also with win10 64-bit.. my Laptop's os is win8.1 64-bit.. I think the problem is with the os version
@@paulorellon2283 Sorry facing the same problem like you. However I tried phpMailer in XAMPP as well. The error code reported me the server is not responding me (10060). Can you help me with that?
big thanx buddy
bro in all servers have "Connect timed out."
I also had the same problem. I have tried all the methods. But the thing was Avast antivirus is blocking the mail. But after disabling Avast. The mail was sent successfully. Hope this can help someone.
bro email not sent
Thankuu so much...
you are a genius
thank you it helped
tks for this video broo
thank you so much
THANK YOU BROOOOOOO !!
It's not working for me
Please watch the updated video th-cam.com/video/L5uCc8Hab-I/w-d-xo.html
thanks man!!!
pero envia masivos???? osea 10.000?
English?
what means "-t" ?
Thank you bro!
put me through i didnt get mail on my email acct
thanks for your effort
but it didn;t work for me