Send email from Localhost and PHP

  Рет қаралды 94,989

PHPBasics

PHPBasics

Күн бұрын

Пікірлер: 168
@denciosantos5316
@denciosantos5316 3 жыл бұрын
Very straight foward, in our dialect 'walang paligoy ligoy pa ayos sir' this great it works for me
@gabrielmoktan6752
@gabrielmoktan6752 2 жыл бұрын
Thank you so much PHP basic, this really helped! I got to learn so much while solving this issue. Thank you sir!
@manuelmilla4399
@manuelmilla4399 4 жыл бұрын
Yeeessss, it worked!!! Thank you!! I was spending so much time looking for a method to send an email using PHP. I found it in your video lesson, Thank you
@raminalibeyli9243
@raminalibeyli9243 4 жыл бұрын
Exactly. Thank you, sir!
@shivammal1294
@shivammal1294 4 жыл бұрын
Can u tell me how u did that i b feeling problem to get it done
@manuelmilla4399
@manuelmilla4399 4 жыл бұрын
@@shivammal1294 Hello, I use yahoo email account. May be that is the reason you can not get it done
@waleedalnajadah7739
@waleedalnajadah7739 4 жыл бұрын
Thank you for this video. I tried with gmail for 3 to 4 days, I followed the exact procedure mentioned in KZbin videos but it didn't work. When I saw your video using yahoo smtp, I followed your procedure, finally I got it to work. Thank you so much.
@XempegeX
@XempegeX 4 жыл бұрын
Thank you so much, your voice is soothing and the explanation is like gods gift to us that need this haha! Cheers!!!!!
@tatemartin5120
@tatemartin5120 3 жыл бұрын
i dont mean to be offtopic but does anyone know a method to get back into an Instagram account?? I was dumb forgot my login password. I would love any tricks you can give me!
@bradeneliseo5497
@bradeneliseo5497 3 жыл бұрын
@Tate Martin Instablaster =)
@tatemartin5120
@tatemartin5120 3 жыл бұрын
@Braden Eliseo Thanks so much for your reply. I got to the site through google and im waiting for the hacking stuff now. Seems to take quite some time so I will get back to you later with my results.
@tatemartin5120
@tatemartin5120 3 жыл бұрын
@Braden Eliseo It did the trick and I finally got access to my account again. I'm so happy:D Thanks so much, you saved my account!
@bradeneliseo5497
@bradeneliseo5497 3 жыл бұрын
@Tate Martin No problem xD
@AmmarTaicho
@AmmarTaicho 5 жыл бұрын
Dude, you are a very great instructor. You have the voice and the simplicity in explaining, do courses in Udemy or here in KZbin and keep up the good work 👍👍
@AmmarTaicho
@AmmarTaicho 3 жыл бұрын
@Loren Cadavid what a cheap marketing technique 😅
@mlandvonkambule6270
@mlandvonkambule6270 3 жыл бұрын
Even in 2021 still works 100% Thanks a lot bro
@toma1610
@toma1610 2 жыл бұрын
Should I do different settings in the PHP.INI file if I use Mac with MAMP?
@phpBasics
@phpBasics 2 жыл бұрын
Hi there. Unfortunately, I don't know enough about MAMP to say one way or another.
@zonairhaidershah2182
@zonairhaidershah2182 4 жыл бұрын
Socket Error # 11001Host not found.???????????
@luciano5172
@luciano5172 2 жыл бұрын
got the same thing, did you fix it?
@hyna0728
@hyna0728 2 жыл бұрын
Didn't receive emails using the same configuration on my Windows. I had to edit the sendmail_path = "\"C:\xampp\sendmail\sendmail.exe\" -t" and worked perfectly. Thanks!
@bin9064
@bin9064 3 жыл бұрын
Hi! Its August 15, 2021 now and this is still working both in GMAIL and OUTLOOK EMAIL!!! THANK YOU SO MUCH!!!
@akshatsharma2511
@akshatsharma2511 4 жыл бұрын
Socket Error # 11001Host not found. please tell me how to resolve this
@luciano5172
@luciano5172 2 жыл бұрын
@mummysaidican'thaveabf what does that mean? How do you create a mail server?
@imperialorthopaedics4768
@imperialorthopaedics4768 2 жыл бұрын
22/09/01 20:14:51 : Socket Error # 10060Connection timed out. this statement is printing in error.log, Could you lemme know how to resolve it ? please!
@davecamasura4459
@davecamasura4459 5 жыл бұрын
This is from the file error.txt 19/03/02 08:05:41 : (#AUTH005) Too many bad auth attempts. what is this? I am currently using xampp 7.3.1 version
@einfachnureinkanal3108
@einfachnureinkanal3108 4 жыл бұрын
same problem. have you found a solution yet?
@Anonymous-fo2rv
@Anonymous-fo2rv 3 жыл бұрын
u r a saviour ............thnx man
@ritabratagoswami7724
@ritabratagoswami7724 2 жыл бұрын
Not working ! getting multiple error! like-> Socket Error # 10060Connection timed out and Connection Closed Gracefully. (even after using port 465 and enable the less secure apps in gmail) I have tried this multiple time but nothing happening!
@JustUser204
@JustUser204 4 жыл бұрын
When six minunutes video saves couple hours of googling
@yassirnasri4900
@yassirnasri4900 2 жыл бұрын
keep up the good work
@vivianakpoke5023
@vivianakpoke5023 2 жыл бұрын
Great video, i followed the stepped and it worked on my local computer. buthow do i configure it on cpanel as i am hosting my project there?
@phpBasics
@phpBasics 2 жыл бұрын
Your host should provide native email support. There should be no need to make any apache changes.
@neelkanthpatel873
@neelkanthpatel873 3 жыл бұрын
Socket Error # 11001Host not found. I'm getting this error can anybody help.
@luciano5172
@luciano5172 2 жыл бұрын
same, did you fix it?
@ritabratagoswami7724
@ritabratagoswami7724 2 жыл бұрын
I'm getting Socket Error # 10060Connection timed out even after all the steps follow including gmail allow low secure app! don't know what to do.
@nessamuna9974
@nessamuna9974 2 жыл бұрын
I would love to know how this works on gmail. How can I configure this?
@anuradharaheja8658
@anuradharaheja8658 4 жыл бұрын
Thanx a lot, very well explained. It Worked!!!!!
@RameenFallschirmjager
@RameenFallschirmjager 5 жыл бұрын
Hollywood quality tutorial! Thanks bro!
@zansiviradiya5387
@zansiviradiya5387 2 жыл бұрын
Email has been send successfully. But not show in my inbox. I was changed all of the setting
@ayeshashaikh5039
@ayeshashaikh5039 5 жыл бұрын
sir there is no error folder in my xampp
@mibrahim4245
@mibrahim4245 2 жыл бұрын
Hi, this is awesome .. but the link in the description is not working ...
@yuvarajr1496
@yuvarajr1496 4 жыл бұрын
Works fine. It was very helpful for my UG project. Thanks a lot ;)
@cindytekeste106
@cindytekeste106 4 жыл бұрын
Hi I did this and it was giving me a socket error so I changed the compatibility and made sendmail.exe ask for admin permission which got rid of the error but now it just loads forever. The file works well on a friend's laptop but not mine.. any idea what the problem could be?
@user-bq4xc2yy3m
@user-bq4xc2yy3m 4 жыл бұрын
Thanks so much. This helped me so fast! God bless!!
@preranaeduanimations
@preranaeduanimations 3 жыл бұрын
Hey Thanx it worked for gmail too :)
@danylayton7582
@danylayton7582 2 жыл бұрын
I want to buy this tools with paypal, can I pay for it with paypal?
@faithfulservant1380
@faithfulservant1380 2 жыл бұрын
Hey. Nowadays for yahoo, we are required to use a one-time password. I entered that and it did not work. Also I am initiating this through a php file so for my sendmail path i just linked it directly to my php file. I was unsure what the .exe file so i was wondering if that mayhave been a cause. Thanks again any information helps
@SoftUche
@SoftUche 2 жыл бұрын
thanks alot for the videos .please i got an error in my error-log file "22/07/10 02:34:41 : Connect timed out." please can you help?? pleaseeeeee
@adnanmirza2709
@adnanmirza2709 5 жыл бұрын
sir i am follow your method but i cant get any mail why?
@sagaryadav5664
@sagaryadav5664 5 жыл бұрын
Same in my case
@x.von5
@x.von5 3 жыл бұрын
I used gmail smtp, it did not work for me. Can you help me?
@agresiv0
@agresiv0 5 жыл бұрын
Great video Sean! I was wondering, what do you have to modify when uploading your page to a web host? thanks!
@phpBasics
@phpBasics 5 жыл бұрын
Hey Ricardo. Your webhost should already be setup to email directly from the host itself. You shouldn't need to modify anything other than the sending address.
@lakshminarayanad7180
@lakshminarayanad7180 4 жыл бұрын
@@phpBasics thanks for kind response......
@sahusahu6361
@sahusahu6361 4 жыл бұрын
Tquuu you solved my problem.
@manirp6907
@manirp6907 3 жыл бұрын
Thank you so much brother 🙏❤💙
@nessamuna9974
@nessamuna9974 2 жыл бұрын
How can I configure it for windows
@SmartHDesigner
@SmartHDesigner 4 жыл бұрын
Thanks man! You helped a lot :D
@ayushdubey8745
@ayushdubey8745 4 жыл бұрын
I followed the same steps but it didn't work for me. Can anybody help me out?
@jmri_16
@jmri_16 4 жыл бұрын
It is still can send an email if I uploaded my work online?
@clarencevizcarra8115
@clarencevizcarra8115 3 жыл бұрын
how to do this on live?
@lakshmikanthraju105
@lakshmikanthraju105 3 жыл бұрын
Thanks a lot, man!
@jeromeberinguel436
@jeromeberinguel436 5 жыл бұрын
it doesn't work for me. I'm using gmail account.
@WhiteAngel2015
@WhiteAngel2015 5 жыл бұрын
me too
@rafatulalam8677
@rafatulalam8677 5 жыл бұрын
Thanks a tonne worked like a charm !
@arianeawacomboy
@arianeawacomboy 4 жыл бұрын
how can I do this for my live hosting server?
@ramadhanekaprawiralubis6925
@ramadhanekaprawiralubis6925 2 жыл бұрын
the email function return true but the email not sent, can you help me
@veterinarymanagement3795
@veterinarymanagement3795 4 жыл бұрын
Message is missing sender's address
@math-gp9lm
@math-gp9lm 4 жыл бұрын
me too ! please help me if you handled this
@chiperchiper1782
@chiperchiper1782 5 жыл бұрын
please help i have this error 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()
@Gnshkhr
@Gnshkhr 4 жыл бұрын
I have same error if you gotta that solution let me know
@nkh6162
@nkh6162 4 жыл бұрын
Hi, i think it's made by bad configured smtp's settings. you need to set" smtp_server=smtp.gmail.com" (->if you want use gmail services) and "smtp_port=465" and" smtp_ssl=ssl" in "sendmail.ini " and then you need to comment these commands (smtp_port=25 , SMTP=localhost) as he mentioned in video. i think, may be you forgot to comment smtp_port in php.ini. good luck.
@harshitsolanki1754
@harshitsolanki1754 4 жыл бұрын
Not working, mail sent, but not recieved to me , what should I do now?
@phpBasics
@phpBasics 4 жыл бұрын
Make sure you enable "less secure Email" on your yahoo or gmail account.
@harshitsolanki1754
@harshitsolanki1754 4 жыл бұрын
@@phpBasics yes, it is ON
@EricEOL
@EricEOL 4 жыл бұрын
Thanks. You helped me a lot.
@prernnajain1532
@prernnajain1532 3 жыл бұрын
Please help me solving this error Mail(): failed to connect to mail server at "localhost". Verify your SMTP and smtp_port
@siddharthabarman7328
@siddharthabarman7328 3 жыл бұрын
After saving php.ini ,you have to restart your apache server.
@souvikdutta3567
@souvikdutta3567 4 жыл бұрын
I followed all the steps but google doesn't allow me to send the mail how to fix it
@TC-kh4er
@TC-kh4er 4 жыл бұрын
Hi! How could I put inside the $message= ' '; ?
@vaishnavigarad5175
@vaishnavigarad5175 4 жыл бұрын
Socket Error # 11001Host not found how do I solve this error?
@phpBasics
@phpBasics 4 жыл бұрын
You are not configuring something correctly. Socket Error 11001 - Host not found (authoritative answer) This means that the ISP POP3 or SMTP server which you have told VPOP3 to connect to does not currently exist.
@vaishnavigarad5175
@vaishnavigarad5175 4 жыл бұрын
@@phpBasics okay. So what could I do to resolve this issue?
@ronalddumaguing1896
@ronalddumaguing1896 Жыл бұрын
How to attach some documents in sendmail?
@phpBasics
@phpBasics Жыл бұрын
Attachments with the native sendmail function is quite difficult. Most of us utilize PHPMailer for that.
@md.ashrafulislambhuiyan2293
@md.ashrafulislambhuiyan2293 5 жыл бұрын
Great work with short time
@raswanthikab9410
@raswanthikab9410 4 жыл бұрын
Life saver!
@siddharthnalwaya4848
@siddharthnalwaya4848 4 жыл бұрын
i tried it with gmail but its giving me error
@StumpyDumpy
@StumpyDumpy 3 жыл бұрын
THANK YOU!!
@iqbalibrahim4713
@iqbalibrahim4713 6 жыл бұрын
so what's the path for windows for send mail, you said that it is fake email, but still I can't find the path
@phpBasics
@phpBasics 6 жыл бұрын
If you're using the default XAMPP configuration, it's C:\xampp\sendmail
@iqbalibrahim4713
@iqbalibrahim4713 6 жыл бұрын
@@phpBasics thank you
@kapilwaghela_07
@kapilwaghela_07 4 жыл бұрын
nice one sir but i need to give the password in auth_password then it worked thank you sir
@rein2407
@rein2407 3 жыл бұрын
No errors but i didn'rt receive an email
@phpBasics
@phpBasics 3 жыл бұрын
Double check your work and make sure your email account is configured to allow less-secure protocols. There are some comments here that provide additional information regarding different email providers. This is still working.
@rein2407
@rein2407 3 жыл бұрын
@@phpBasics u think the 2 way authenticator of my gmail account blocking the send of the email?
@rein2407
@rein2407 3 жыл бұрын
@@phpBasics on the debug mode it says "application specific password required"
@rein2407
@rein2407 3 жыл бұрын
@@phpBasics i did it man. Thanks. The 2 way login aunthenticator really the culprit for blocking the smtp. Thanks btw.
@phpBasics
@phpBasics 3 жыл бұрын
@@rein2407 Glad you got it figured out!
@喵-z8t
@喵-z8t 4 жыл бұрын
Thanks . It's finally work.
@math-gp9lm
@math-gp9lm 4 жыл бұрын
Please it is not working I am finding error "Message is missing sender's address" please help me
@phpBasics
@phpBasics 4 жыл бұрын
skype: CoolEditz
@vrushabhpatil2867
@vrushabhpatil2867 3 жыл бұрын
man didn't work for google i had done everything that u say
@QadeerAbbas49
@QadeerAbbas49 5 жыл бұрын
life saving.....
@KARTIKKUMARSAW
@KARTIKKUMARSAW 3 жыл бұрын
thank you bro this code works for me good.
@AmarJukuntla
@AmarJukuntla 4 жыл бұрын
AM unable to send mail . Showing (#AUTH005) Too many bad auth attempts.
@phpBasics
@phpBasics 4 жыл бұрын
Hello. Have you enabled less secure email on your account?
@AmarJukuntla
@AmarJukuntla 4 жыл бұрын
@@phpBasics am not seeing that option in my yahoo account. But working in gmail
@SanthoshNayakYt
@SanthoshNayakYt 4 жыл бұрын
I'm not receiving messages in other end
@jefinagilbert5977
@jefinagilbert5977 3 жыл бұрын
same
@SanthoshNayakYt
@SanthoshNayakYt 3 жыл бұрын
@@jefinagilbert5977 I have did this u want the cofe bro?
@jefinagilbert5977
@jefinagilbert5977 3 жыл бұрын
@@SanthoshNayakYt no bro... i too found the solution... thanks for it
@telhernandez2347
@telhernandez2347 3 жыл бұрын
Hi! Can you send me the password of the sendmail file? Thank you in advance.
@alexanderantropov2106
@alexanderantropov2106 4 жыл бұрын
Thanks!
@thomassteindl9481
@thomassteindl9481 4 жыл бұрын
Thank you!
@nieshas6359
@nieshas6359 4 жыл бұрын
Perfect!
@romeissa5232
@romeissa5232 2 жыл бұрын
thank you so much it worked ?
@TheYaCOD
@TheYaCOD 3 жыл бұрын
Love u man
@esofialo23
@esofialo23 5 жыл бұрын
Thank you it worked perfectly :D
@jacknguyen4014
@jacknguyen4014 5 жыл бұрын
It works! Thanks so much :)
@kevgits
@kevgits 5 жыл бұрын
Unfortunately, this doesn't seem to work with Gmail.
@esofialo23
@esofialo23 5 жыл бұрын
I used gmail following this steps here you can give it a try, it worked fine for me stackoverflow.com/questions/15965376/how-to-configure-xampp-to-send-mail-from-localhost
@kevgits
@kevgits 5 жыл бұрын
@@esofialo23 Thanks for trying to help. Unfortunately, it still doesn't work even after following the procedure above. I get the following error in the logs: 19/03/11 11:46:03 : Error connecting with SSL.Error connecting with SSL.error:1408F10B:SSL routines:SSL3_GET_RECORD:wrong version number
@artemis1306
@artemis1306 4 жыл бұрын
@@lavarthan3298 how ?
@artemis1306
@artemis1306 4 жыл бұрын
@@lavarthan3298 yea thanks finally managed it by turning on its less secure access. 😁 It took time for me to find it on google. Haha! 🤣
@musicvista5345
@musicvista5345 5 жыл бұрын
Keep it up
@KajalPatel-en9om
@KajalPatel-en9om 4 жыл бұрын
it is workd thank you so much
@bilalhussain7680
@bilalhussain7680 4 жыл бұрын
thank You such a greate tuts for me
@yexiu6653
@yexiu6653 6 жыл бұрын
Source Code pls
@niclausslumoring
@niclausslumoring 5 жыл бұрын
nothing happens
@lucianrusu7033
@lucianrusu7033 4 жыл бұрын
waste of time...i hope some day, someone will upload video with instruction that actually work..Error connecting with SSL.Error connecting with SSL.error:1408F10B:SSL routines:SSL3_GET_RECORD:wrong version number (#AUTH005) Too many bad auth attempts.
@luciano5172
@luciano5172 2 жыл бұрын
feel you bro
@herbertbasilla3520
@herbertbasilla3520 2 жыл бұрын
I used gmail account
@abubakrtufail6160
@abubakrtufail6160 5 жыл бұрын
it works.Thank you a lot
@jigneshnayak8
@jigneshnayak8 5 жыл бұрын
It worked Thank You
@alucardhellsing4366
@alucardhellsing4366 4 жыл бұрын
apparently because of the tow-step verification i had an error using my gmail account and i followed the link that lead me to google information page telling that you have to set up a password to use with applications so if you have this problem follow the link : support.google.com/mail/?p=InvalidSecondFactor ------------------------------------------------------------------------------------------------------------------------------------------------ للأشخاص الي يستخدمون جيميل وظهر لهم رسالة خطا في مجلد error غالباً بسبب عملية التحقق بخطوتين لذلك لازم تروح لإعدادات الأمان في حسابك في قوقل وتفعل كلمة المرور الخاصة بالتطبيقات هذا الرابط وفيه المعلومات من قوقل اتبع الخطوات الموجودة فيه : support.google.com/mail/?p=InvalidSecondFactor
@AlexJGames
@AlexJGames 5 жыл бұрын
hey friend can you provide the source codes?i give you a big subscribe for that i promise
@xXEmilXx100
@xXEmilXx100 3 жыл бұрын
It's just a few changes in ini files that you must do according to your mail server and account settings. There's no need to provide source files (unless you ask for php.ini or something but it comes with apache server).
@Helianthus_Promotions
@Helianthus_Promotions 2 жыл бұрын
(#AUTH005) Too many bad auth attempts.
@vrgs8896
@vrgs8896 3 жыл бұрын
How much time did it take for your email to send? Because I followed the steps you showed and tried to send an email and 10 minutes later I still didn't receive it. That's what I wrote in my test file, and it returned 'Email sent successfully', but it's there's nothing in my inbox. $sendMail = mail('myemail@yahoo.com','Test Subject','Hello there!','From: myemail@yahoo.com'); if($sendMail) { echo "Email sent successfully"; } else { echo "Mail failed"; } And also, I downloaded the .zip from the link in the description and it doesn't have an error.log file, so I can't tell what might be wrong. Do you have any idea what I could try?
@TC-kh4er
@TC-kh4er 4 жыл бұрын
Hi! How could I put inside the $message= ' '; ?
@phpBasics
@phpBasics 4 жыл бұрын
If you wrap a string in double quotes, you can use variables within the string. If you use single quotes, you have to concatenate them.
@TC-kh4er
@TC-kh4er 4 жыл бұрын
Hi! How could I put inside the $message= ' '; ?
Complete PHP Registration w/ Email Verification
21:04
PHPBasics
Рет қаралды 120 М.
The Best Band 😅 #toshleh #viralshort
00:11
Toshleh
Рет қаралды 20 МЛН
How to treat Acne💉
00:31
ISSEI / いっせい
Рет қаралды 29 МЛН
BAYGUYSTAN | 1 СЕРИЯ | bayGUYS
37:51
bayGUYS
Рет қаралды 1,4 МЛН
VIP ACCESS
00:47
Natan por Aí
Рет қаралды 25 МЛН
PHP Regular Expressions Form Security & Validation
12:32
PHPBasics
Рет қаралды 20 М.
Working Contact Form in PHP with Validation & Email Sending
22:55
FollowAndrew
Рет қаралды 185 М.
Sending Email From Localhost using PHP, XAMPP, GMAIL
12:57
HOW TO CONFIGURE XAMPP TO SEND MAIL FROM LOCALHOST IN PHP
11:37
malahim tech
Рет қаралды 5 М.
SQL Injection For Beginners
13:28
Loi Liang Yang
Рет қаралды 1,5 МЛН
PHP Results WITHOUT REFRESHING
11:23
PHPBasics
Рет қаралды 20 М.
The Best Band 😅 #toshleh #viralshort
00:11
Toshleh
Рет қаралды 20 МЛН