PHP Contact Form Tutorial - PHP send email to Gmail SMTP

Sdílet
Vložit
  • čas přidán 11. 07. 2024
  • In this PHP Contact Form Tutorial, we learn how to create a PHP contact form with email sending. After watching this simple PHP tutorial, you will learn PHP and use PHP send email to Gmail. This programming tutorial will teach everything you need to know on how to send email from HTML contact form using PHP mail function. Build PHP contact form to Gmail using Gmail SMTP server. This is a PHP tutorial for beginners full to learn PHP.
    DONATE Bitcoin (BTC) Address: bc1qljqj7nrk0nl6jtnwdqscjjtz8cnccwr7dtzjzq
    DOWNLOAD DEMO PROJECT - codeswag.net/how-to-create-a-...
    CHAPTERS
    00:00 - Start
    00:36 - Install xampp
    02:42 - Download Demo Project
    04:00 - Adding Demo Project to Xampp
    05:34 - Demo Project Code Explanation
    08:23 - Configure PHP send email to Gmail SMTP
    Support codeswag on Patreon - / codeswag
    DONATE Bitcoin (BTC) Address: bc1qljqj7nrk0nl6jtnwdqscjjtz8cnccwr7dtzjzq
    Social Media Links
    -------------------------------
    Facebook - / codeswag.net
    Twitter - / codeswagyoutube
    Instagram - / codeswag.co.uk
    Support codeswag on Patreon - / codeswag
    Please support this channel by buying some awesome tech gadgets for yourself or a loved one from our online store at www.codeswag.net/shop

Komentáře • 20

  • @lucaschoga9563
    @lucaschoga9563 Před 2 lety +3

    Awesome teaching style and quality of video. Great work.

  • @PhilsHarmony
    @PhilsHarmony Před rokem +2

    First one out of five tutorials that worked for me. Thanks for posting this video.

  • @edoardobranconi3120
    @edoardobranconi3120 Před rokem +3

    I image you know that Google's option "Less secure apps" has been removed.
    What should I do to fix it? Should I use OAuth2?
    But OAuth2 is not easy to configure.
    Could you, please, do a video about configuring OAuth2 on Google , and how to configure "sendmail.ini", "php.ini", and any php files?
    It would be wonderful.
    Thank you.

  • @rampage241
    @rampage241 Před 2 lety +1

    Great tutorial!

  • @franklopez2033
    @franklopez2033 Před 2 lety +1

    Thank you so much!

  • @mdbag9438
    @mdbag9438 Před rokem

    worked well thanks

  • @ericksonlee7410
    @ericksonlee7410 Před 2 lety

    Really great. Thanks bro

  • @aijiexi
    @aijiexi Před měsícem

    This video needs to be updated according to Google's new authentication policies. I wouldn't watch this one even though it is well executed because you still won't be able to connect to Google's server. Off to look for a new video 😊

  • @block2937
    @block2937 Před 2 lety +1

    Thanks bro

  • @rampage241
    @rampage241 Před 2 lety +1

    How do I configure PHP on hostgator to send emails like you did using Gmail SMTP?

  • @Saifia-noortv1922
    @Saifia-noortv1922 Před rokem

    Hy !
    this tutorial is very helpfull for me
    i run the code as you practices in this video but in gmail no email was shown.....what is solution...?

  • @olumideakinyemi5040
    @olumideakinyemi5040 Před 11 měsíci

    instead of xampp.. can I do the same on a live hosting like godaddy. I mean edit the php.ini file. please let me know

  • @matthewhart4952
    @matthewhart4952 Před 2 lety +2

    "Less secure apps" feature was removed by Google recently on personal Gmail Accounts.

  • @GunturBudiHerwanto
    @GunturBudiHerwanto Před 2 lety +2

    Less secure apps is not working anymore. Change of policy from Google :(

    • @matthewhart4952
      @matthewhart4952 Před 2 lety

      You'll have to go the OAuth2 route instead!

    • @GunturBudiHerwanto
      @GunturBudiHerwanto Před 2 lety +2

      @@matthewhart4952 would be awesome if you can provide a tutorial for this :) love to see your videos!