How to Send Email Using PHPMailer in PHP

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

КОМЕНТАРІ •

  • @TerryMarsault
    @TerryMarsault 3 місяці тому +3

    Thanks, it helped me a lot!

  • @michaeljacobdelossantos
    @michaeljacobdelossantos Рік тому +2

    Thanks, this tutorial worked for me.

  • @jayeshfasate9380
    @jayeshfasate9380 8 місяців тому +3

    Can you make a video on how to purchase or which smpt server to buy?

  • @kvng_Edwin
    @kvng_Edwin Рік тому +2

    Thanks a lot this helped !!!

  • @pedrozimmer23
    @pedrozimmer23 Рік тому +1

    thank you vey much it worked

  • @ارغوانامیری-ذ6ط
    @ارغوانامیری-ذ6ط 9 місяців тому +1

    I have a form that catch the users's emails and send them a verifying code. So, how should I use this library in my code?

  • @bravehotsauce
    @bravehotsauce 10 місяців тому +1

    thank you!

    • @CodesEasy
      @CodesEasy  10 місяців тому

      You're welcome!

  • @francescofaccia
    @francescofaccia 4 місяці тому +1

    that was very useful thankyou

  • @salisappayani7727
    @salisappayani7727 Рік тому +2

    when I paste the “composer require phpmailer/phpmailer it doesn’t work even though I already downloaded it and make it public, still doesn’t work at all

    • @CodesEasy
      @CodesEasy  Рік тому

      Make sure the composer is installed and path is added properly
      Then restart your computer

  • @tashifkudpadi3146
    @tashifkudpadi3146 Рік тому +1

    I'm getting this error in the terminal : The term 'composer' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path
    was included, verify that the path is correct and try again.

    • @CodesEasy
      @CodesEasy  Рік тому

      You have to install composer, google it

  • @yavuzbey5097
    @yavuzbey5097 Рік тому +2

    What the hell SMTP Error: Could not authenticate.??

  • @SubSquadTV2024
    @SubSquadTV2024 Рік тому +2

    Hello Good morning. it has an error for me when I'm installing the composer php mailer. it said that git was not found in your path. help me. thank you.

    • @CodesEasy
      @CodesEasy  Рік тому

      Install git and add it your environment veriable

  • @orbasayankimjasper8773
    @orbasayankimjasper8773 Рік тому +1

    great

  • @EduTechBD01
    @EduTechBD01 Рік тому +1

    thanks a lot
    thanks a lot

  • @alalyrealestate1136
    @alalyrealestate1136 Рік тому +1

    Thanks a lot for the tutorial >> can you tell me how to add a preloader while sending the email >> which javascript event is used while sending email data to the server

    • @CodesEasy
      @CodesEasy  Рік тому

      You can add the email api from javascript and the add a progress bar for the process

  • @DirtyOPC
    @DirtyOPC 10 місяців тому

    bro another video on how to make a dashboard in html and css to enter the data with inputs connect the php to the html

  • @kashishvarshney2225
    @kashishvarshney2225 Рік тому +1

    we need to purchase SMTP?

    • @CodesEasy
      @CodesEasy  Рік тому

      Yes you will require an SMTP server

  • @kikaximenes813
    @kikaximenes813 Рік тому +1

    How to send email smpt with antivirus protection. Because i cant send it when the antivirus protection is activ😫

    • @CodesEasy
      @CodesEasy  Рік тому

      Purchase an SMTP server its available for low rates also

    • @madgames1449
      @madgames1449 16 днів тому

      BowlingMozart.gif

  • @aduadularry1154
    @aduadularry1154 2 роки тому +1

    Can you please help in mentioning on using sender like php mailer, mailer with smtp and sending to numbers

    • @CodesEasy
      @CodesEasy  2 роки тому +1

      You mean send messages to phone numbers ?

    • @CodesEasy
      @CodesEasy  2 роки тому +1

      Is that's what you ment for that we can make a tutorial soon. Stay subscribed. I have added this topic to the list.

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

      Yes sending message to phone number because sometimes it doesn't deliver, I have use reach and many alternative but no avail

  • @coderszonee
    @coderszonee 2 місяці тому +1

    What will be host name ?

    • @CodesEasy
      @CodesEasy  2 місяці тому

      Check with your SMTP providers

  • @quantumworld854
    @quantumworld854 8 місяців тому

    This does not work if you are working with a real time website.

  • @VickyKhaw
    @VickyKhaw Рік тому +1

    Hi is this work on macos?

    • @CodesEasy
      @CodesEasy  Рік тому

      Install Apache and it works on all operating system

    • @VickyKhaw
      @VickyKhaw Рік тому

      Hi is xampp also can use it? And after download the composer my file is needed open inside the composer or in htdocs also can?

    • @VickyKhaw
      @VickyKhaw Рік тому

      hi When i paste the composer require phpmailer/phpmailer to the terminal,it show command not found
      @@CodesEasy

    • @VickyKhaw
      @VickyKhaw Рік тому

      I already install zip file from github but still same

    • @VickyKhaw
      @VickyKhaw Рік тому

      @@CodesEasy using vs code amd xampp also work right?

  • @ChristianFerrer-k3b
    @ChristianFerrer-k3b Рік тому

    How about in live server? It works in localhost but how about in live server

    • @CodesEasy
      @CodesEasy  Рік тому

      There are no changes, apart from your php configurations there is nothing that's going to be an issue and most of the time shared hostings come with proper installation etc. With the mail sending part for SMTP we are using a different server so that's not going to get affected if it's working on localhost

  • @kerisek11
    @kerisek11 7 місяців тому +1

    Doesnt work, multiple errors

    • @rascenaj7980
      @rascenaj7980 5 місяців тому

      Ofcourse it will not work if you try to send email on the name of bing companies such is the facebook, instagram or gmail

    • @rascenaj7980
      @rascenaj7980 5 місяців тому

      And you need to make your own code to make it work… everything is possible on internet so keep digging man.

  • @visualbree
    @visualbree Рік тому

    Came here for the SMTP part and you skipped that, not even an explanation.

    • @CodesEasy
      @CodesEasy  Рік тому

      Sure, we could do a video on explaining SMTP if you like, but this video is only about implementing PHPMailer

    • @visualbree
      @visualbree Рік тому

      @@CodesEasy Its ok, this video has setup a good starting point. Great work.

  • @rizonrise450
    @rizonrise450 Рік тому +1

    should have included installation :/

    • @CodesEasy
      @CodesEasy  Рік тому

      We have included everything required for this particular feature. If we are missing anything feel free to ask. Join our groups and you can get help also

  • @robertamberwich1368
    @robertamberwich1368 Рік тому +1

    Excellent, but I'm getting authentication error, I'm 100% sure the username and password is 100000% correct, any ideas ?

    • @CodesEasy
      @CodesEasy  Рік тому +1

      Check the host address and also check if the port is correct etc

  • @Shutori
    @Shutori 5 місяців тому

    remember to not have ur email and password on public display u can hide it in a config file or add the variables to ur environment variables.

  • @jjviralvideos89
    @jjviralvideos89 Рік тому +2

    Please can you help me with my attachment, it shows error(```php Message could not be sent. Mailer Error: Could not access file: assets\passport1.jpg)

    • @CodesEasy
      @CodesEasy  Рік тому

      Your path to the file might be wrong

    • @jjviralvideos89
      @jjviralvideos89 Рік тому

      Please can you make a short video on how and where to save the file in order to attach it as some of us are newbies, thank you.@@CodesEasy