PHP Tutorial: How To Send Email From Localhost Using PHPMailer

  Рет қаралды 61,810

Senaid Bacinovic

Senaid Bacinovic

Күн бұрын

Пікірлер: 231
@akilarathnayake9940
@akilarathnayake9940 5 жыл бұрын
Thanks Mr.Senaid Bačinović... Its pleasure to study from you.. Your lectures are not just lectures... They explain A to Z path... Can understand any beginner... That is your talent..👌👍
@SenaidBacinovic
@SenaidBacinovic 5 жыл бұрын
Thank you so much for this comment!
@TJPactronix
@TJPactronix 4 жыл бұрын
What a great tutorial. Coming from a russian hacker, you know it's gotta be good. Thank you
@khannatejas13
@khannatejas13 5 жыл бұрын
Your way of teaching is simple and accurate. Thanks Teacher .Student From India.
@SenaidBacinovic
@SenaidBacinovic 5 жыл бұрын
Thank you so much.
@abhishekdeb8456
@abhishekdeb8456 5 жыл бұрын
Love you a lot a lot. You are genius to me. Its works great in my localhost. This is first time mail sent by my localhost. I was struggling hard for a long time and in return today you make my day. Thank You Senaid.
@SenaidBacinovic
@SenaidBacinovic 5 жыл бұрын
My pleasure and thank you.
@_timestamp
@_timestamp 4 жыл бұрын
6:48 you run the cached version of the page. Press ctrl+F5 to reload the page ignoring the cached files (or open the developer tool and check the option 'disable cache' in the 'network' tab)
@SenaidBacinovic
@SenaidBacinovic 4 жыл бұрын
Thank you, but in most cases cache doesn't exist when testing under localhost.
@GoergeVonHeinzberg
@GoergeVonHeinzberg 5 жыл бұрын
Bro.. I love your video, I love your work. Your tutorial is very easy to learn. Basically I'm newbie in coding. I don't know anything about it. But when I show your video. It's... It's awesome!!
@SenaidBacinovic
@SenaidBacinovic 5 жыл бұрын
WOW! Big words, thank you so much! :)
@chavvamanjunath4489
@chavvamanjunath4489 3 жыл бұрын
Greatest Of all Time .Excellent .Thanks Buddy!!!.
@SenaidBacinovic
@SenaidBacinovic 3 жыл бұрын
My pleasure!
@MichaelPritchardRR3
@MichaelPritchardRR3 5 жыл бұрын
Thanks this is a great tutorial, I have a couple of questions. 1) should 'required' be used in the input fields of the html form? 2) Should the user input data be 'sanitized' before posting/emailing?
@SenaidBacinovic
@SenaidBacinovic 5 жыл бұрын
Thank you. 1) No, you don't need it since we are doing verification with jQuery 2) It's always smart to sanitize, but for just using data to send an email you don't need to
@swanandjoshi4998
@swanandjoshi4998 5 жыл бұрын
Bro it works for me nice tutorial . YOur tutorial is booming Success is light
@SenaidBacinovic
@SenaidBacinovic 5 жыл бұрын
Thank you!
@marye1218
@marye1218 4 жыл бұрын
Un énorme merci pour cette vidéo !!!! Elle est géniale !! Sans même parler un mot d'anglais, l'explication est tellement claire que j'ai tout compris. Vous êtes un excellent pédagogue ! Merci à vous de France ;-)
@naveenchowdary4881
@naveenchowdary4881 3 жыл бұрын
Your the Best.....working 100% !!thank you .....thank you so much for sharing source code!!....i'm subscribing your channel.
@SenaidBacinovic
@SenaidBacinovic 3 жыл бұрын
Thanks for the sub!
@Abdulrahman-my3tu
@Abdulrahman-my3tu 2 жыл бұрын
thank you , you helped me to complete my project
@SenaidBacinovic
@SenaidBacinovic 2 жыл бұрын
Glad I could help!
@pavanajmeera9009
@pavanajmeera9009 3 жыл бұрын
very very very very good, finished project just before a day of deadline.thankyou dude
@SenaidBacinovic
@SenaidBacinovic 3 жыл бұрын
Glad I could help
@sweetiei.8403
@sweetiei.8403 6 ай бұрын
would be nice to have complete form validation with Captcha :) thanks!!
@ghostdzgamer6684
@ghostdzgamer6684 3 жыл бұрын
great vid bro , i just wonna to ask you is there a way to send email using phpMailer with progressbar with (Ajax)
@slamanaim1837
@slamanaim1837 Жыл бұрын
hi friend really you are excellent .i´m computer science engineer and i´m glad to watch your video and i have honor to be in touch with you
@SenaidBacinovic
@SenaidBacinovic Жыл бұрын
Thank you for the nice words, it's my plesure!
@slamanaim1837
@slamanaim1837 Жыл бұрын
please how can i contact you to cooperate together? thx in advance
@SenaidBacinovic
@SenaidBacinovic Жыл бұрын
@@slamanaim1837 please go to my website and send an email from there :)
@steadycools
@steadycools 3 жыл бұрын
Nice bro, it is working,, Thankyou so much for share the code and files in 1 .zip folder
@SenaidBacinovic
@SenaidBacinovic 3 жыл бұрын
It's my pleasure
@piyasidey2117
@piyasidey2117 3 жыл бұрын
Thank you very much Sir..It's working.
@vigauss1889
@vigauss1889 5 жыл бұрын
You are a good teacher. Simple, understandably and useful. Keep going. Hello from Siberia! Good luck dude!
@SenaidBacinovic
@SenaidBacinovic 5 жыл бұрын
Thank you so much. :D
@aggreyafray6869
@aggreyafray6869 5 жыл бұрын
hey thanx for the video but why does it send in spam? and how can i configure it to in inbox?
@sohinidutta8632
@sohinidutta8632 4 жыл бұрын
Thank you so much for this tutorial...I was stuck with the code...now its working...thanks a lot :D
@atharvanirali1027
@atharvanirali1027 4 жыл бұрын
Hey hi, amazing tutorial! just wanted to ask if i deploy it on Heroku will it still work?
@lawrencelamprecht3180
@lawrencelamprecht3180 5 жыл бұрын
I am having a major issue. I am using bootstrap and something happened that the emails just stopped being sent. I have sent more than a week trying to fix this without success. I then turned to phpmailer, but the issue is in the newer version of phpmailer, the syntax is somewhat different. I found your video, I tried to download the sourcecode but when doing so, the files that I get are nowhere near what I see you coding on the video. Meaning that the sourcecode is not teh same as the video content. Where can I get the correct source files? Thanks Lawrence
@inesoliveira693
@inesoliveira693 5 жыл бұрын
You save my life 😂😊 Thank youuu.
@SenaidBacinovic
@SenaidBacinovic 5 жыл бұрын
Big words, thank you :)
@sharonkaramba6956
@sharonkaramba6956 5 жыл бұрын
Great Tutorial... Thank you :) I will look at your other tutorials. Greetings from Namibia (Africa)!
@loves.6779
@loves.6779 4 жыл бұрын
Amazing video! It all worked perfectly and I understood everything you said
@hifzan09
@hifzan09 4 жыл бұрын
Thank you so much! can you help me on how to save the data into the mysql database?
@venkateshn4996
@venkateshn4996 4 жыл бұрын
Yeah its working for me. Thanks a loooooot dude.......
@ShubhamKumar-ur1vm
@ShubhamKumar-ur1vm 3 жыл бұрын
thank you very helpful even in 2021 !
@nayanakanchana2595
@nayanakanchana2595 4 жыл бұрын
It said 500 (Internal server error ) May be with jquery How can i fix it?
@ashharkausar413
@ashharkausar413 3 жыл бұрын
ty for this video!!
@SenaidBacinovic
@SenaidBacinovic 3 жыл бұрын
My pleasure!
@sharayubhosale364
@sharayubhosale364 4 жыл бұрын
thank u for vedio. The code is working on localhost but not in server. I am getting error " PHP Fatal error: Uncaught Error: Class 'PHPMailer' not found" even i used PHPmailer
@haithamalmawla9480
@haithamalmawla9480 3 жыл бұрын
thanks mate finally someone get it right all respect mate
@SenaidBacinovic
@SenaidBacinovic 3 жыл бұрын
my pleasure, thank you :)
@Dadolj20
@Dadolj20 4 жыл бұрын
Hi thank you for great tutorial, just want to ask question how important is to use tag insted like in your example is there some important diferences in aspect of funcionality?
@mianhaseeb8294
@mianhaseeb8294 5 жыл бұрын
i'm happy to see u again in youtube
@SenaidBacinovic
@SenaidBacinovic 5 жыл бұрын
Thank you :)
@collinsonyegbado309
@collinsonyegbado309 5 жыл бұрын
sir,thanks for the video. In case, it says 'message has been sent' but i cant find the mail in mail box. I have turned on "allow less application " 2 step verification is off.so what could be the issue?I have created a new gmail account but to no avail
@ajlakorman9515
@ajlakorman9515 Жыл бұрын
What if we have turned the ON option for Less Secure Apps, but still we get the same error message for TroubleShooting?
@jumarchavez4558
@jumarchavez4558 4 жыл бұрын
Is there a way to don't do the less secure steps in this tutorial
@christianmarklaurio9604
@christianmarklaurio9604 4 жыл бұрын
Thanks do more tutorial you're really generous keep it up!
@aliou_thiam
@aliou_thiam 4 жыл бұрын
thank you very very very much you really save my life
@christopherikpat5512
@christopherikpat5512 5 жыл бұрын
Wow!!! Great tutorial and properly explained. Can it send bulk emails?
@emmanuels.emokor3783
@emmanuels.emokor3783 5 жыл бұрын
hello, I love your tutorials. I am doing project to verify user registration, but the email cannot be sent to the target email (which is my email).
@santoshentertainment3098
@santoshentertainment3098 4 жыл бұрын
I'm happy from c panel how can we send ?? Can I use this same code?
@kindstone8181
@kindstone8181 3 жыл бұрын
Thank you very much !!
@wiksta4316
@wiksta4316 3 жыл бұрын
Great work, very helpful material!
@hopitalibnsina458
@hopitalibnsina458 4 жыл бұрын
thank thank thank you sooooooooooo mutch you are the best tu m'asauver
@ra1pm3t
@ra1pm3t 5 жыл бұрын
*now it works witch is weird but anyway* that's a phrased used by webprogrammers all the time.. 😀 hopefully not by medical programmers 😲
@SenaidBacinovic
@SenaidBacinovic 5 жыл бұрын
LOL, good one! Glad you made it :)
@thirashapw
@thirashapw 4 жыл бұрын
Thanks it's works on me when i used tls and port 587
@SenaidBacinovic
@SenaidBacinovic 4 жыл бұрын
Glad I could help
@CodeWithBehram7497
@CodeWithBehram7497 2 жыл бұрын
you've got new sub thank's brother😀
@SenaidBacinovic
@SenaidBacinovic 2 жыл бұрын
Thank you!
@freelarabie3218
@freelarabie3218 4 жыл бұрын
Thank you very much Friend.... Be a Lighthouse for us mister
@dtecdasilva
@dtecdasilva 4 жыл бұрын
best tutorial ever
@nipunsachinda
@nipunsachinda 5 жыл бұрын
thanls man its works very good!!!
@SenaidBacinovic
@SenaidBacinovic 5 жыл бұрын
Thanks !
@datikken5327
@datikken5327 5 жыл бұрын
1 cup of coffee for this guy please
@TDarkCoder
@TDarkCoder 5 жыл бұрын
Why do we need email input in form if we dont send message there?
@LetsBland9411
@LetsBland9411 2 жыл бұрын
It's a nice video sir but why is it not working for me it's saying( localhost says try again ) or what is that password you used is it a password for your email ?and why did you use two emails the receiving email make sense but why that other one
@pushpikasj
@pushpikasj 5 жыл бұрын
This is great video, good job. But wrong sender's email address in the sent email.
@SenaidBacinovic
@SenaidBacinovic 5 жыл бұрын
Thank you. Check your settings to fix that.
@hofas2007
@hofas2007 5 жыл бұрын
in bootstrap 4 and more there is no class cal-md-offset-3 insted is offset-md-3 ... :) and therefor it working fine , becouse offset and align push inputs to the right from center :)
@GianlucaBrizi
@GianlucaBrizi 4 жыл бұрын
Very good. I will try!
@lisandrolaman6455
@lisandrolaman6455 5 жыл бұрын
is isSMTP(); needed if on live server?
@SenaidBacinovic
@SenaidBacinovic 5 жыл бұрын
Make a test, it's never the same.
@ولسوفيعطيكربكفترضى-ذ3ظ
@ولسوفيعطيكربكفترضى-ذ3ظ 4 жыл бұрын
thank yoooooou so much
@SenaidBacinovic
@SenaidBacinovic 4 жыл бұрын
Thank you :)
@martinsin7151
@martinsin7151 4 жыл бұрын
This is a super good moive!
@manikumarize
@manikumarize 4 жыл бұрын
Thanks a lot Sir!
@iMajed
@iMajed 4 жыл бұрын
Thanks :)
@betzaidarodriguez7129
@betzaidarodriguez7129 4 жыл бұрын
Hi! I have some issues with trying to configure the gmail account with the less secure apps. Can anyone help me?
@jimtooley7114
@jimtooley7114 4 жыл бұрын
Thank you ... it just works!
@SenaidBacinovic
@SenaidBacinovic 4 жыл бұрын
You're welcome!
@lawlietkun2375
@lawlietkun2375 4 жыл бұрын
cant we send to people who do not have gmail but have an "outlook" or "live" email?
@SenaidBacinovic
@SenaidBacinovic 4 жыл бұрын
Yes
@udm_bsit_lauriochristianma8461
@udm_bsit_lauriochristianma8461 3 жыл бұрын
save lives sir!
@samuelnyamekesse239
@samuelnyamekesse239 4 жыл бұрын
I am getting an error saying "could not instantiate PHP mail function" any help please
@mia3308
@mia3308 5 жыл бұрын
Hey, I get an error, because sendEmail is not defined, but my code is exactly the same as yours
@dipodeen6643
@dipodeen6643 3 жыл бұрын
finally found one... i hope this is the one
@dipodeen6643
@dipodeen6643 3 жыл бұрын
still does'nt solve....:(
@muhammadnaimmul7169
@muhammadnaimmul7169 3 жыл бұрын
why my ajax cannot read the response function
@sahujiofficial7834
@sahujiofficial7834 5 жыл бұрын
Thanks a lot to u and for the last error that occurs that make me sure that my user name Or password is wrong.
@Шепыч-с4у
@Шепыч-с4у 5 жыл бұрын
Спасибо дружище) Thank you friend!
@l-yakuza5027
@l-yakuza5027 4 жыл бұрын
Its said to me SMTP -> ERROR: Password not accepted from server: 535-5.7.8 Username and Password not accepted. even when i activate the less connection secure
@michaelnokrah1653
@michaelnokrah1653 4 жыл бұрын
It works fine on localhost but after uploading it on live server, shit doesn’t work no more... now how’s that?!
@ibnelaiq
@ibnelaiq 4 жыл бұрын
Thanks
@thetpainghtut6168
@thetpainghtut6168 5 жыл бұрын
Thanks man for tutorial :D but how can i verify Email Address and check if Email is Real?
@SenaidBacinovic
@SenaidBacinovic 5 жыл бұрын
Thank you. I will record video tutorial for you. :)
@aurorasomething7213
@aurorasomething7213 5 жыл бұрын
why my console on dev tools didnt appear anything? and i didnt receive any email :(( please help!
@rilwanmaruf9247
@rilwanmaruf9247 5 жыл бұрын
I try to use it on live server but getting error. Please help a soul here
@benjaminhodzic4840
@benjaminhodzic4840 2 жыл бұрын
Hvala care
@aureamarizacandida7429
@aureamarizacandida7429 4 жыл бұрын
Obrigada !!!! thanks
@Clawsn
@Clawsn 4 жыл бұрын
I'm getting this error when sendEmail function is fired - "Object "parsererror" SyntaxError: Unexpected token a in JSON at position 0". Any suggestions on how to debug?
@jay-rathod-01
@jay-rathod-01 4 жыл бұрын
cmon man thats a syntax error
@abrahamcelestinenelson8003
@abrahamcelestinenelson8003 3 жыл бұрын
thanks boss
@AndrewJamesForest
@AndrewJamesForest Жыл бұрын
Less secure apps is no longer an option for Gmail. Instead, 2 step verification is needed along with a password for apps like PHPMailer. It's not hard to do, just google it.
@albertoandrade7132
@albertoandrade7132 4 жыл бұрын
Thanks really helpful!
@mohitmohit-nw6pc
@mohitmohit-nw6pc 4 жыл бұрын
hi can u help pls your code will not working its show error
@للعلمطالب
@للعلمطالب 5 жыл бұрын
شكرا لك من الجزائر
@SenaidBacinovic
@SenaidBacinovic 5 жыл бұрын
My pleasure :)
@adrien8768
@adrien8768 5 жыл бұрын
Cool :)
@SenaidBacinovic
@SenaidBacinovic 5 жыл бұрын
Thank you :)
@selvamk6596
@selvamk6596 4 жыл бұрын
Nice
@farhankhan394
@farhankhan394 5 жыл бұрын
that's looks good :)
@SenaidBacinovic
@SenaidBacinovic 5 жыл бұрын
Thank you :)
@ahmedelbandrawy2606
@ahmedelbandrawy2606 4 жыл бұрын
it send successfully but in gmail it doesn't show me who is send i want to show the email about who is send
@MrSuperAnimesh
@MrSuperAnimesh 4 жыл бұрын
mine is giving an Typeerror - ajax is not a function . what to do ?
@SenaidBacinovic
@SenaidBacinovic 4 жыл бұрын
Make sure that you have included jQuery library.
@MohamedYasser-pj4wo
@MohamedYasser-pj4wo 5 жыл бұрын
thank you , شكرا لك
@MohamedYasser-pj4wo
@MohamedYasser-pj4wo 5 жыл бұрын
@Mr Profesor localhost
@JustinBalaguer
@JustinBalaguer 5 жыл бұрын
thank you so much.
@SenaidBacinovic
@SenaidBacinovic 5 жыл бұрын
My pleasure :)
@zahrasamiei9244
@zahrasamiei9244 4 жыл бұрын
i am using this code but its not working.i think ajax is not sending
@aliadnan5731
@aliadnan5731 3 жыл бұрын
Thankse
@TheOmarBH
@TheOmarBH 4 жыл бұрын
bro i need your help. I dont know why i cand send the email's. I try with different gmails accounts and no positive result. I enable the opción of gmail for third-party and dosen't work :c
@ludaxofficial
@ludaxofficial 3 жыл бұрын
if you need help, hmu
@sallurajput1166
@sallurajput1166 4 жыл бұрын
i want the code it is possible?????
@mrdeveloper1978
@mrdeveloper1978 5 жыл бұрын
working perfect in localhost but its not working on the server. kindly help
@babutechmbr4860
@babutechmbr4860 4 жыл бұрын
same problem for me. did you find any solution please help me?
@eduardogonzalez5400
@eduardogonzalez5400 5 жыл бұрын
Thank you for sharing. I get an error: at the end of the code: Please Try Again!
@bundas2011
@bundas2011 4 жыл бұрын
Hi, what was the solution for that?
PHP & SendGrid API Tutorial: Send Email From Localhost & Server
13:38
Senaid Bacinovic
Рет қаралды 25 М.
風船をキャッチしろ!🎈 Balloon catch Challenges
00:57
はじめしゃちょー(hajime)
Рет қаралды 44 МЛН
Real Man relocate to Remote Controlled Car 👨🏻➡️🚙🕹️ #builderc
00:24
ТЫ В ДЕТСТВЕ КОГДА ВЫПАЛ ЗУБ😂#shorts
00:59
BATEK_OFFICIAL
Рет қаралды 2,8 МЛН
Send email from Localhost and PHP
6:49
PHPBasics
Рет қаралды 94 М.
Send email with PHP | Create a Working Contact Form Using PHP
10:18
Dave Hollingworth
Рет қаралды 145 М.
PHPMailer - Learn to send emails in PHP Fast & Easy
8:31
Mr Digital
Рет қаралды 199 М.
Using phpmailer sending Emails in PHP from localhost with SMTP
11:09
learnWebCoding
Рет қаралды 175 М.
Working Contact Form in PHP with Validation & Email Sending
22:55
FollowAndrew
Рет қаралды 184 М.
風船をキャッチしろ!🎈 Balloon catch Challenges
00:57
はじめしゃちょー(hajime)
Рет қаралды 44 МЛН