Using phpmailer sending Emails in PHP from localhost with SMTP

  Рет қаралды 175,131

learnWebCoding

learnWebCoding

Күн бұрын

Using phpmailer sending Emails in PHP from localhost with SMTP
Download PHPMailer Library
Download cacert.pem file
Get the code from my GitHub account:
github.com/dur...
Share, Support, Subscribe!!!
KZbin: / learnwebcoding
Facebook: / learnwebcoding
Blog: dwebcoding.blog...
GitHub: github.com/dur...
Connect with Me:
Linkedin: / durgesh-sahani
Facebook: / durgeshsahani99
Instagram: / durgesh.sahani99
Twitter: / durgeshsahani99

Пікірлер: 209
@pankajkumar-co7cd
@pankajkumar-co7cd 2 жыл бұрын
I just went through your video for the first time in order to search for Phpmailer in localhost i did it on my first attempt. Thanks for the clear knowledge.
@danielninotorres2670
@danielninotorres2670 3 жыл бұрын
Bro, you're the only one who could actually help me! I'm grateful with u, hugs from Colombia
@MrRiot1992
@MrRiot1992 6 жыл бұрын
After a lot of research your tutorial was excelent, 05:02 am a long night for me, thank you. Respect.
@tahep3906
@tahep3906 6 жыл бұрын
I've spent tons of times on solving sending email from localhost problem, it worked at last thanks to you, thank you very much for this great tutorial!
@serxhiobekteshi7376
@serxhiobekteshi7376 2 жыл бұрын
You are the best for this solution
@DaneHildreth
@DaneHildreth 6 жыл бұрын
AMAZING tutorial. You have a gift! Best explanation I have found on the internet for this! YOU ROCK
@jimbenson1349
@jimbenson1349 5 жыл бұрын
Thank you for taking the time to explain and show how to use the code. Your video helped me to get this working on my project.
@learnWebCoding
@learnWebCoding 5 жыл бұрын
Thank you, and glad to here that it helped you.
@statusvideoshub
@statusvideoshub 2 жыл бұрын
Once again, I try this,,, And still it's working fine. love you bro!
@mscsengtraceradmin9600
@mscsengtraceradmin9600 6 жыл бұрын
Lot's of tutorials i've watched and read but,, you're so awesome,, your tutorial is legit. It worked :D
@pranavmankar1964
@pranavmankar1964 4 жыл бұрын
Its worked for me . First time it's not work for everyone then try to fix Gmail account issue. You will get mail after your first try on your sender mail to turn off less security app you go on it and turn on it then it should be work for do. This turn on less secure app setting on computer.(Recommended)
@samuelchege6594
@samuelchege6594 4 жыл бұрын
your tutorial is perfect, finaly i was able to make it work through you
@learnWebCoding
@learnWebCoding 4 жыл бұрын
Glad to hear that, thank you!
@sh0tOk4n
@sh0tOk4n 4 жыл бұрын
I just did the tutorial and I got to do what I wanted to do! So if somone has any problem, (i'm not the author of the video but it's a 2017's video) I can help! Thank's a lot btw for the video!
@rtushar8437
@rtushar8437 3 жыл бұрын
bro please help me iam not able to send through phpmailer
@sh0tOk4n
@sh0tOk4n 3 жыл бұрын
@@rtushar8437 add me on discord guys airone#1900
@thirst_of_travel9576
@thirst_of_travel9576 4 жыл бұрын
thanks sir this video help me alot to make my own form validation
@dawankiryngkhlem7820
@dawankiryngkhlem7820 3 жыл бұрын
thank you sir...
@sungwoongpyeon6481
@sungwoongpyeon6481 6 жыл бұрын
This tutorial video is amazing. Thank you!!!
@jeremiahazubuike3006
@jeremiahazubuike3006 5 жыл бұрын
thank you very much for this... I personally appreciate it
@odn1244
@odn1244 5 жыл бұрын
Thanks a lot. Your video helped my problems.
@learnWebCoding
@learnWebCoding 5 жыл бұрын
Glad to hear that.. Thank you!
@danielecoloccini9553
@danielecoloccini9553 3 жыл бұрын
perfect explanation, thank you
@ViniciusHenrique-jm4fl
@ViniciusHenrique-jm4fl 4 жыл бұрын
Thanks for helping me friend
@legendarygamer5321
@legendarygamer5321 2 жыл бұрын
Style is not coming because sir you have written borger by mistake instead of border ...... Btw video was very awsome
@pbdawn
@pbdawn 6 жыл бұрын
spelling mistake thats why you wrote "borger" instead of "border" in
@jay-rathod-01
@jay-rathod-01 4 жыл бұрын
wah!! hasna tha...?
@jonathanoyekanmi7743
@jonathanoyekanmi7743 6 жыл бұрын
Your Tutorial was helpful. Thank you
@sushants_vlogs_officials
@sushants_vlogs_officials 6 жыл бұрын
Thanks man..to upload this video its really working ..
@sanjayrajpurohit4045
@sanjayrajpurohit4045 6 жыл бұрын
Nice explanation. It worked.
@rashijain61
@rashijain61 6 жыл бұрын
Its done...thank you so much sir
@thalesferreira2801
@thalesferreira2801 6 жыл бұрын
You solved my problem bro. Thank you so much.
@furuyachihiro5894
@furuyachihiro5894 5 жыл бұрын
thanks a lot, your video solved my problem
@HasibKamalChowdhury
@HasibKamalChowdhury 6 жыл бұрын
Thank you Durgesh :) It's working.
@i.zanoth
@i.zanoth 4 жыл бұрын
Thanks, it will be useful.
@olamideabe4795
@olamideabe4795 2 жыл бұрын
Can I use the same setting on a paid hosting? Am lost searching the internet for this one thing. Please help
@twinsSpark
@twinsSpark 6 жыл бұрын
like your explanation thank you bro.
@juanmanuelcerda2394
@juanmanuelcerda2394 4 жыл бұрын
Thanks man, it worked for me!
@dheerajsirsikar9657
@dheerajsirsikar9657 4 жыл бұрын
How did u update your password at the end of the vedio
@r-e-ngaming2518
@r-e-ngaming2518 5 жыл бұрын
Thank you its working 100% !
@eng.muzammalhussain6746
@eng.muzammalhussain6746 6 жыл бұрын
Amazing. Thank you so much bro.
@christianicibuliaman9773
@christianicibuliaman9773 5 жыл бұрын
nice you help me so
@learnWebCoding
@learnWebCoding 5 жыл бұрын
Thank you!
@eadoard
@eadoard 3 жыл бұрын
Thank you so much , it works
@fahadhafeez8086
@fahadhafeez8086 4 жыл бұрын
bro very very thank you ! It helps us a lot.
@learnWebCoding
@learnWebCoding 4 жыл бұрын
Glad to hear that.. your welcome!
@akilarathnayake9940
@akilarathnayake9940 6 жыл бұрын
Nice video... how to get email and password to credential.php from a database ? Specially encrypted password.. Thank you..
@VikashKumar-zd6gi
@VikashKumar-zd6gi 4 жыл бұрын
Thanks !!! it's working fine
@ajayagrawal7086
@ajayagrawal7086 5 жыл бұрын
loved IT
@bibhasash7371
@bibhasash7371 4 жыл бұрын
thank you so much
@learnWebCoding
@learnWebCoding 4 жыл бұрын
Your welcome!
@anmolrastogi1289
@anmolrastogi1289 5 жыл бұрын
You wrote borger instead of border in style thats why css style is not working in email.
@FlamurBeqiraj
@FlamurBeqiraj 5 жыл бұрын
xD
@abhishekpatil1123
@abhishekpatil1123 4 жыл бұрын
Hey my browser is showing me an error that CLASS PHPMailer not found in index.php And it's a fatal error
@prasadruby3769
@prasadruby3769 4 жыл бұрын
Me too
@hamzapatel03
@hamzapatel03 4 жыл бұрын
You couldn't see the styles on the div, because you wrote "borger" instead of "border". It was a typo.
@kevinwaag9976
@kevinwaag9976 3 жыл бұрын
I appreciate this, i just need to found out how to remove all of the lines beside message sent ^^
@bhaveshvaje4980
@bhaveshvaje4980 4 жыл бұрын
I'm getting fatal error class PHPMailer not found ? Bcoz opt/lampp? Please revert me wid solutions
@carollim5382
@carollim5382 3 жыл бұрын
5:28 typo "borger" instead of "border"
@mithawalaprem42
@mithawalaprem42 6 жыл бұрын
worked for me thanks alot 😀 can you show this on live server ???
@daipanrobertvincent2748
@daipanrobertvincent2748 5 жыл бұрын
Thanks man. It really helped me a lot. :)
@salescocolucci8316
@salescocolucci8316 5 жыл бұрын
could you please help me with that?
@SaifulIslam-dn3tj
@SaifulIslam-dn3tj 5 жыл бұрын
Thank you so much, sir
@achyutkulkarni2047
@achyutkulkarni2047 4 жыл бұрын
Where did u paste the copied code at 1:00??
@mohammedettayby2716
@mohammedettayby2716 6 жыл бұрын
thank you so much it's worked
@tejassawant8774
@tejassawant8774 3 жыл бұрын
Thus this work on live server ?
@camilorodero8130
@camilorodero8130 4 жыл бұрын
Please help. I created a script that sents an email. If i umpload it to a domain hosting site it works and sends the email. If I send it with my own server. it would stick to a long loading process. Then at the end says that it sent it but does not. I already checked wirewall with that one the error shows refused. However it does nothing but loading. What Can I be missing.
@monsurahmed9494
@monsurahmed9494 6 жыл бұрын
Thanks a lot.
@RobbieGarciakawasakininja650r
@RobbieGarciakawasakininja650r 6 жыл бұрын
Thanks it works!
@deeprajansrivastav5980
@deeprajansrivastav5980 5 жыл бұрын
Uncaught Error: Class 'PHPMailer' not found in C:\xampp\htdocs\adminpanel\mailbox.php:22 Stack trace: #0 {main} thrown in C:\xampp\htdocs\adminpanel\mailbox.php on line 22 in am geting this type of error plzz help me!!!1
@subaramkumar4361
@subaramkumar4361 4 жыл бұрын
thanks bro...
@febybasilthankachan761
@febybasilthankachan761 4 жыл бұрын
Is it possible to do it without smtp
@saoussenetoubal
@saoussenetoubal 3 жыл бұрын
Thank you !!!!
@luckynath2330
@luckynath2330 6 жыл бұрын
in gmail when i on less secure app message was send,but what we do in outlook.
@vaibhavbhatnagar9865
@vaibhavbhatnagar9865 3 жыл бұрын
thanks
@thedigitalpradip
@thedigitalpradip 3 жыл бұрын
Can we send email from localhost to check SIGN UP USER EMAIL ID To send username and random Generated Password..
@genosthegreat7870
@genosthegreat7870 2 жыл бұрын
Where can i find Phpmailerautoload file?
@ashishchauhan5203
@ashishchauhan5203 3 жыл бұрын
Hey bro how can i add unsubscribe link along with my emails? One can click unsubscribe link to stop getting emails? Also redirect them to the login page or subscribe page.
@razikkhan2637
@razikkhan2637 3 жыл бұрын
What we fill in credentials.php file
@islam_and_hadees
@islam_and_hadees 5 жыл бұрын
which password we have to update?
@deshnashah828
@deshnashah828 4 жыл бұрын
how you can add in body section name,email-id just like subject & message?
@akpewlfried2123
@akpewlfried2123 3 жыл бұрын
will this still work after the site has been deployed ?
@krunalrathod1220
@krunalrathod1220 6 жыл бұрын
thank you so much bro
@busyfun3891
@busyfun3891 2 жыл бұрын
sir how to troubleshoot in cpanel server.i am not doing pl help
@mukund3499
@mukund3499 3 жыл бұрын
is that code will be work in ubuntu , or we change some setting in terminal. bcs since 3 days i figuring out how i send msg . i watch so any video but no solution i get . is any one help me out this mail issue
@acsus
@acsus 6 жыл бұрын
does this work if the website is up or online?
@chandanmascot9056
@chandanmascot9056 6 жыл бұрын
Showing error like this, which are given below -- 2018-09-08 09:17:24 SERVER -> CLIENT: 2018-09-08 09:17:24 SMTP NOTICE: EOF caught while checking if connected 2018-09-08 09:17:24 SMTP Error: Could not connect to SMTP host. 2018-09-08 09:17:24 SMTP connect() failed. github.com/PHPMailer/PHPMailer/wiki/Troubleshooting Message could not be sendMailer Error : SMTP connect() failed. github.com/PHPMailer/PHPMailer/wiki/Troubleshooting -> I'm also configure cacert.pem file path in openssl (php.ini) but error still continue -> Where I'm doing wrong ??? Kindly resolve this issue...
@islamicinterestofficial
@islamicinterestofficial 4 жыл бұрын
Disable your antivirus then it will be worked fine
@livemusic8137
@livemusic8137 3 жыл бұрын
@@islamicinterestofficial Thanks for saving my day!
@islamicinterestofficial
@islamicinterestofficial 3 жыл бұрын
@@livemusic8137 No problem ❤️
@luckynath2330
@luckynath2330 6 жыл бұрын
thanks for replay...
@vinaychaubey703
@vinaychaubey703 6 жыл бұрын
great tutorial thanks. you did not get your border style due to erroneously you write borger: 2px solid red instead of border
@kumarprince7572
@kumarprince7572 5 жыл бұрын
i am not able to fic (that stream_socket_enable_crypto(): SSL operation failed with code 1. )
@kunaldeshmukh4485
@kunaldeshmukh4485 6 жыл бұрын
It still showing same error while I have downloaded and specified cacert.pem in cafile and cainfo...
@AlexZaFish
@AlexZaFish 6 жыл бұрын
Not working for me, did every step in this tutorial
@danylayton7582
@danylayton7582 2 жыл бұрын
hello, I want to buy this tools with paypal, can I pay for it with paypal?
@jcroldan3610
@jcroldan3610 5 жыл бұрын
i have searched the "openssl" text in my php file and it only gave me one result which is the "extension=php_openssl.dll". What's wrong with my php.ini file? Can someone out there help me to solve this?
@ciknowledge7588
@ciknowledge7588 4 жыл бұрын
Hello sir I want to 1 School management system website creat..with Biometric ..How much payment..
@adnanyounas496
@adnanyounas496 6 жыл бұрын
salute!!
@KillGoustWorld
@KillGoustWorld 4 жыл бұрын
this error Could not connect to SMTP host. how can i esolve this
@hareharen4704
@hareharen4704 4 жыл бұрын
Can you put video for email verification
@DucNguyen-bm2pl
@DucNguyen-bm2pl 2 жыл бұрын
why is your PASS empty? isn't it your gmail password?
@idiotchips4950
@idiotchips4950 5 жыл бұрын
Why everyone uses gmail smtp ?
@misschoa9358
@misschoa9358 4 жыл бұрын
if I get this error "Extension missing: openssl Message could not be sent.Mailer Error: Extension missing: openssl" what should I do? (Edit) Solution I found : 1) Open (php install directory)php.ini 2) Uncomment (~ line 970 in php.ini) extension=php_openssl.dll 3) Restart IIS
@yasheshpatel3605
@yasheshpatel3605 5 жыл бұрын
I have error BadCredentials how to solve this?
@mohammedattar3628
@mohammedattar3628 2 жыл бұрын
where did u get the user name and password sir ?
@maphahavele4118
@maphahavele4118 6 жыл бұрын
thanks working
@mayurtekwani8009
@mayurtekwani8009 3 жыл бұрын
how can i send mail using office 365 account .
@Sawsanagh
@Sawsanagh 5 жыл бұрын
Class 'PHPMailer' not found in C:\xampp\htdocs\sndmail\sndmail\index.php on line 18 the phpmailer.php file is in next to the page what is the problem?? pls help i have worked for this for two weeks :(
@wrtitingwave
@wrtitingwave 5 жыл бұрын
you must download phpmailer
@TC-kh4er
@TC-kh4er 4 жыл бұрын
Hi! How could I put inside the $message= ' '; ?
@webtechlec7434
@webtechlec7434 4 жыл бұрын
Legit! Thanks!
@lilchamp3438
@lilchamp3438 4 жыл бұрын
I am facing error uncaught error :class phpmailer not found
@twinsSpark
@twinsSpark 4 жыл бұрын
autoloadphp file make (foldername/class) istedof (foldername\class) time 2:33
@mohammedattar3628
@mohammedattar3628 2 жыл бұрын
where is the first video sir
@IAmEnough8971
@IAmEnough8971 6 жыл бұрын
i am using apache server then how can i fix config file
@hamzaahmed3081
@hamzaahmed3081 5 жыл бұрын
can you show this on live server ???
iPhone 16 Pro Max vs Samsung S24 Ultra Camera Battle!
16:44
Mrwhosetheboss
Рет қаралды 2 МЛН
Amazing Parenting Hacks! 👶✨ #ParentingTips #LifeHacks
00:18
Snack Chat
Рет қаралды 19 МЛН
Or is Harriet Quinn good? #cosplay#joker #Harriet Quinn
00:20
佐助与鸣人
Рет қаралды 58 МЛН
АЗАРТНИК 4 |СЕЗОН 1 Серия
40:47
Inter Production
Рет қаралды 1,4 МЛН
Electric Flying Bird with Hanging Wire Automatic for Ceiling Parrot
00:15
Using sendmail.exe sending Emails in PHP from localhost with SMTP
10:37
Sending OTP SMS in PHP from localhost using textlocal
14:30
learnWebCoding
Рет қаралды 168 М.
Are we going back to PHP with fullstack JavaScript?
9:57
Maximilian Schwarzmüller
Рет қаралды 140 М.
OAuth 2.0 and OpenID Connect (in plain English)
1:02:17
OktaDev
Рет қаралды 1,7 МЛН
How I'd Learn Web Development (If I Could Start Over)
6:55
Dylan Cole
Рет қаралды 620 М.
PHP Tutorial: How To Send Email From Localhost Using PHPMailer
23:00
Senaid Bacinovic
Рет қаралды 61 М.
Amazing Parenting Hacks! 👶✨ #ParentingTips #LifeHacks
00:18
Snack Chat
Рет қаралды 19 МЛН