Using phpmailer sending Emails in PHP from localhost with SMTP

Поділитися
Вставка
  • Опубліковано 9 лис 2024

КОМЕНТАРІ • 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 роки тому +1

    Bro, you're the only one who could actually help me!
    I'm grateful with u, hugs from Colombia

  • @MrRiot1992
    @MrRiot1992 6 років тому +8

    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!

  • @statusvideoshub
    @statusvideoshub 2 роки тому

    Once again, I try this,,, And still it's working fine.
    love you bro!

  • @serxhiobekteshi7376
    @serxhiobekteshi7376 2 роки тому

    You are the best for this solution

  • @DaneHildreth
    @DaneHildreth 6 років тому +1

    AMAZING tutorial. You have a gift! Best explanation I have found on the internet for this! YOU ROCK

  • @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)

  • @jimbenson1349
    @jimbenson1349 5 років тому +1

    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.

  • @mscsengtraceradmin9600
    @mscsengtraceradmin9600 6 років тому +1

    Lot's of tutorials i've watched and read but,, you're so awesome,, your tutorial is legit. It worked :D

  • @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 4 роки тому

      bro please help me iam not able to send through phpmailer

    • @sh0tOk4n
      @sh0tOk4n 4 роки тому

      @@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

  • @samuelchege6594
    @samuelchege6594 4 роки тому +1

    your tutorial is perfect, finaly i was able to make it work through you

  • @ViniciusHenrique-jm4fl
    @ViniciusHenrique-jm4fl 4 роки тому

    Thanks for helping me friend

  • @odn1244
    @odn1244 5 років тому

    Thanks a lot. Your video helped my problems.

  • @pbdawn
    @pbdawn 6 років тому +6

    spelling mistake thats why
    you wrote "borger" instead of "border" in

  • @dawankiryngkhlem7820
    @dawankiryngkhlem7820 4 роки тому

    thank you sir...

  • @eadoard
    @eadoard 3 роки тому

    Thank you so much , it works

  • @hussainmd5376
    @hussainmd5376 5 років тому

    great video saved my time thanks

  • @sushants_vlogs_officials
    @sushants_vlogs_officials 6 років тому

    Thanks man..to upload this video its really working ..

  • @juanmanuelcerda2394
    @juanmanuelcerda2394 4 роки тому

    Thanks man, it worked for me!

  • @jeremiahazubuike3006
    @jeremiahazubuike3006 5 років тому +1

    thank you very much for this... I personally appreciate it

  • @i.zanoth
    @i.zanoth 4 роки тому

    Thanks, it will be useful.

  • @rashijain61
    @rashijain61 6 років тому

    Its done...thank you so much sir

  • @r-e-ngaming2518
    @r-e-ngaming2518 6 років тому

    Thank you its working 100% !

  • @fahadhafeez8086
    @fahadhafeez8086 4 роки тому

    bro very very thank you ! It helps us a lot.

  • @VikashKumar-zd6gi
    @VikashKumar-zd6gi 4 роки тому

    Thanks !!! it's working fine

  • @sungwoongpyeon6481
    @sungwoongpyeon6481 6 років тому

    This tutorial video is amazing. Thank you!!!

  • @furuyachihiro5894
    @furuyachihiro5894 5 років тому

    thanks a lot, your video solved my problem

  • @HasibKamalChowdhury
    @HasibKamalChowdhury 6 років тому

    Thank you Durgesh :) It's working.

  • @sanjayrajpurohit4045
    @sanjayrajpurohit4045 6 років тому

    Nice explanation. It worked.

  • @jonathanoyekanmi7743
    @jonathanoyekanmi7743 6 років тому

    Your Tutorial was helpful. Thank you

  • @thalesferreira2801
    @thalesferreira2801 6 років тому

    You solved my problem bro. Thank you so much.

  • @christianicibuliaman9773
    @christianicibuliaman9773 5 років тому +1

    nice you help
    me so

  • @ajayagrawal7086
    @ajayagrawal7086 5 років тому

    loved IT

  • @twinsSpark
    @twinsSpark 6 років тому

    like your explanation thank you bro.

  • @kevinwaag9976
    @kevinwaag9976 3 роки тому

    I appreciate this, i just need to found out how to remove all of the lines beside message sent ^^

  • @vaibhavbhatnagar9865
    @vaibhavbhatnagar9865 3 роки тому

    thanks

  • @eng.muzammalhussain6746
    @eng.muzammalhussain6746 6 років тому

    Amazing. Thank you so much bro.

  • @saoussenetoubal
    @saoussenetoubal 3 роки тому

    Thank you !!!!

  • @akilarathnayake9940
    @akilarathnayake9940 6 років тому +1

    Nice video... how to get email and password to credential.php from a database ? Specially encrypted password.. Thank you..

  • @subaramkumar4361
    @subaramkumar4361 4 роки тому

    thanks bro...

  • @mithawalaprem42
    @mithawalaprem42 6 років тому

    worked for me thanks alot 😀
    can you show this on live server ???

  • @mohammedettayby2716
    @mohammedettayby2716 6 років тому

    thank you so much it's worked

  • @RobbieGarciakawasakininja650r
    @RobbieGarciakawasakininja650r 6 років тому

    Thanks it works!

  • @monsurahmed9494
    @monsurahmed9494 6 років тому

    Thanks a lot.

  • @SaifulIslam-dn3tj
    @SaifulIslam-dn3tj 6 років тому

    Thank you so much, sir

  • @ritjiyilkudi3334
    @ritjiyilkudi3334 6 років тому

    Thank you soooooooo much

  • @legendarygamer5321
    @legendarygamer5321 2 роки тому

    Style is not coming because sir you have written borger by mistake instead of border ......
    Btw video was very awsome

  • @luckynath2330
    @luckynath2330 6 років тому

    thanks for replay...

  • @daipanrobertvincent2748
    @daipanrobertvincent2748 5 років тому

    Thanks man. It really helped me a lot. :)

  • @hamzapatel03
    @hamzapatel03 4 роки тому +1

    You couldn't see the styles on the div, because you wrote "borger" instead of "border". It was a typo.

  • @webtechlec7434
    @webtechlec7434 4 роки тому

    Legit! Thanks!

  • @adnanyounas496
    @adnanyounas496 6 років тому

    salute!!

  • @anmolrastogi1289
    @anmolrastogi1289 6 років тому +5

    You wrote borger instead of border in style thats why css style is not working in email.

  • @carollim5382
    @carollim5382 3 роки тому +2

    5:28 typo "borger" instead of "border"

  • @olamideabe4795
    @olamideabe4795 3 роки тому

    Can I use the same setting on a paid hosting? Am lost searching the internet for this one thing. Please help

  • @krunalrathod1220
    @krunalrathod1220 6 років тому

    thank you so much bro

  • @maphahavele4118
    @maphahavele4118 6 років тому

    thanks working

  • @hareharen4704
    @hareharen4704 4 роки тому

    Can you put video for email verification

  • @deshnashah828
    @deshnashah828 4 роки тому

    how you can add in body section name,email-id just like subject & message?

  • @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.

  • @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

  • @luckynath2330
    @luckynath2330 6 років тому

    in gmail when i on less secure app message was send,but what we do in outlook.

  • @tejassawant8774
    @tejassawant8774 3 роки тому

    Thus this work on live server ?

  • @akpewlfried2123
    @akpewlfried2123 3 роки тому

    will this still work after the site has been deployed ?

  • @nickyspeight5597
    @nickyspeight5597 5 років тому

    Just so some people know that troubleshooting guide mentioned in the video states if athentication is being rejected by google log into your google account and enable "Less Secure app access". This allows the message to send for me. Although does I suppose create vulnerabilities.
    myaccount.google.com/lesssecureapps

    • @learnWebCoding
      @learnWebCoding  5 років тому

      Thanks for your comment, I always try to covered all possible scenarios while creating video tutorial.

  • @thedigitalpradip
    @thedigitalpradip 3 роки тому

    Can we send email from localhost to check SIGN UP
    USER EMAIL ID To send username and random Generated Password..

  • @dheerajsirsikar9657
    @dheerajsirsikar9657 4 роки тому +1

    How did u update your password at the end of the vedio

  • @mariaandersen3251
    @mariaandersen3251 5 років тому

    Line 37 in credential.php is borger instead of border

    • @leon_the_professional
      @leon_the_professional 5 років тому

      credential.php has only 4 lines the mistake is in index.php

    • @mariaandersen3251
      @mariaandersen3251 5 років тому

      @@leon_the_professionalcorrect, it's index.php thank you :)

  • @camilorodero8130
    @camilorodero8130 5 років тому

    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.

  • @acsus
    @acsus 6 років тому

    does this work if the website is up or online?

  • @ciknowledge7588
    @ciknowledge7588 4 роки тому

    Hello sir I want to 1 School management system website creat..with Biometric ..How much payment..

  • @febybasilthankachan761
    @febybasilthankachan761 4 роки тому

    Is it possible to do it without smtp

  • @razikkhan2637
    @razikkhan2637 3 роки тому

    What we fill in credentials.php file

  • @genosthegreat7870
    @genosthegreat7870 2 роки тому

    Where can i find Phpmailerautoload file?

  • @kumarprince7572
    @kumarprince7572 5 років тому

    i am not able to fic (that stream_socket_enable_crypto(): SSL operation failed with code 1. )

  • @hamzaahmed3081
    @hamzaahmed3081 5 років тому

    can you show this on live server ???

  • @chandanmascot9056
    @chandanmascot9056 6 років тому +4

    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...

  • @picknow557
    @picknow557 6 років тому

    i love you

  • @deeprajansrivastav5980
    @deeprajansrivastav5980 5 років тому +1

    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

  • @mukund3499
    @mukund3499 4 роки тому

    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

  • @parthaolad7612
    @parthaolad7612 5 років тому

    sir plz how to send image attachment

  • @rohitrai.brolly
    @rohitrai.brolly 3 роки тому

    thank u bro but could u please share me your form code??

  • @achyutkulkarni2047
    @achyutkulkarni2047 4 роки тому

    Where did u paste the copied code at 1:00??

  • @bhaveshvaje4980
    @bhaveshvaje4980 4 роки тому

    I'm getting fatal error class PHPMailer not found ? Bcoz opt/lampp? Please revert me wid solutions

  • @abhishekpatil1123
    @abhishekpatil1123 4 роки тому +1

    Hey my browser is showing me an error that CLASS PHPMailer not found in index.php
    And it's a fatal error

  • @kunaldeshmukh4485
    @kunaldeshmukh4485 6 років тому

    It still showing same error while I have downloaded and specified cacert.pem in cafile and cainfo...

  • @busyfun3891
    @busyfun3891 2 роки тому

    sir how to troubleshoot in cpanel server.i am not doing pl help

  • @TC-kh4er
    @TC-kh4er 4 роки тому

    Hi! How could I put inside the $message= ' '; ?

  • @islam_and_hadees
    @islam_and_hadees 5 років тому +1

    which password we have to update?

  • @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?

  • @AlexZaFish
    @AlexZaFish 6 років тому +1

    Not working for me, did every step in this tutorial

  • @SinyoMoba
    @SinyoMoba 5 років тому

    How to send with attacmend and bcc please..

    • @learnWebCoding
      @learnWebCoding  5 років тому

      Check this video for attachments: ua-cam.com/video/y14b_RW96s0/v-deo.html
      and use this function for: $mail->addBcc("youremail@example.com");

  • @TheVishal3156
    @TheVishal3156 6 років тому

    need part 1 video
    becoz in my form code is not working

  • @danylayton7582
    @danylayton7582 2 роки тому

    hello,
    I want to buy this tools with paypal, can I pay for it with paypal?

  • @mayurtekwani8009
    @mayurtekwani8009 4 роки тому

    how can i send mail using office 365 account .

  • @soumyodeepdey
    @soumyodeepdey 6 років тому

    I need one help. I am using MAMP 4.0 with php 7.1.7. Initialy my errors are similar to your error. I could not find that [openssl] section in the php.ini file. Then I created that section in the file and added the certificate at the bottom of the file. The after restarting the MAMP server and reloading the page all errors are disappeared. But no mail in my inbox. What your suggestions? Thank you

    • @soumyodeepdey
      @soumyodeepdey 6 років тому

      Durgesh Sahani Thanks for quick reply. I understand the problem now. When I trying to send the mail via online host, it is working. But with local host it is not working. Any idea?

    • @soumyodeepdey
      @soumyodeepdey 6 років тому

      ha! I am always online

  • @yasheshpatel3605
    @yasheshpatel3605 5 років тому

    I have error BadCredentials how to solve this?

  • @IAmEnough8971
    @IAmEnough8971 6 років тому

    i am using apache server then how can i fix config file