How to Configure XAMPP to Send Mail from Localhost in PHP?

Поделиться
HTML-код
  • Опубликовано: 1 фев 2025

Комментарии • 168

  • @CodingNepal
    @CodingNepal  3 года назад +17

    Note: Google removed the “Less secure apps” feature on May 30, 2022. So you need to do some extra steps and make changes in the files to send mail from localhost using Gmail. Please, read this blog for it: www.codingnepalweb.com/configure-xampp-to-send-mail-from-localhost/

  • @kreasiopensource8729
    @kreasiopensource8729 3 года назад +3

    Thank you so much for publishing this video. no more errors, love it

  • @gunawanbudi7073
    @gunawanbudi7073 3 года назад +3

    Thanks dude, you make this tutorial easy, hope your channel always grow up 🙏🙏🙏

  • @ryunosukesan
    @ryunosukesan 3 года назад +1

    Such annoying music, it was painful to watch that i had to mute... but the instructions worked perfectly. First time I have ever been able to send mail from localhost.... and I didn't even need to install Mercury. Definitely thumbs up from me! Thanks

    • @CodingNepal
      @CodingNepal  3 года назад +3

      I'm really sorry for the music and thanks for the thumbs up

  • @abdielstudio7715
    @abdielstudio7715 3 года назад

    This is pretty SICK! thanks for sharing man! keep on sharing!

  • @ismw5865
    @ismw5865 2 года назад

    you have saved me for my final project yet again.
    thank you!

  • @TutulPortal
    @TutulPortal 3 года назад

    Thank you so much boss! This worked! Keep guiding us like this video!

  • @jake19077
    @jake19077 3 года назад +1

    I love your codings. Keep it up 🔥

  • @saqibjaved7744
    @saqibjaved7744 3 года назад +1

    love you bro, the only video that worked for me 💖💖💖

  • @Anonymous-jx4zp
    @Anonymous-jx4zp 3 года назад +1

    Thanks alot for this video I was searching for this kind of vdo from last year.
    1 nepali can only help the other one!

  • @PAGLAPAGLA
    @PAGLAPAGLA 2 года назад +4

    Less secure app access
    To protect your account, apps and devices that use less secure sign-in technology are blocked. To keep your account secure, Google will automatically turn this setting OFF if it’s not being used.
    This setting is no longer available. Learn more

    • @marcolee5460
      @marcolee5460 2 года назад

      hey, it appears google removed that option. do u have any solutions for it?

    • @CodingNepal
      @CodingNepal  2 года назад

      I've explained the solution in the blog.. You can read it www.codingnepalweb.com/configure-xampp-to-send-mail-from-localhost/

  • @arcane2024
    @arcane2024 3 года назад +1

    Thank you so much. This is what I wanted.

    • @CodingNepal
      @CodingNepal  3 года назад +1

      You're very welcome!

    • @arcane2024
      @arcane2024 3 года назад

      @@CodingNepal You are the best programmer. No one made a chat app or login and sign up pages

  • @anasbraim4489
    @anasbraim4489 3 года назад

    You are my hero bro, keep going

  • @MuhammadUsman-kf2hx
    @MuhammadUsman-kf2hx 2 года назад

    Thanks bro ☺️ really needed such a video

  • @ALONE-RIDERN160
    @ALONE-RIDERN160 3 года назад +1

    Legend of Nepal 🇳🇵❤️❤️

  • @Toro-Tor
    @Toro-Tor 2 года назад +2

    Inside gmail, the button for "allow less secure apps" is not there anymore - since June 2022.
    WHAT DO WE DO NOW ?

  • @mubindaghost
    @mubindaghost 3 года назад +2

    Finally 🔥🔥🔥

    • @CodingNepal
      @CodingNepal  3 года назад

      Yes after so many requests I can't stay without making a video on it

    • @mubindaghost
      @mubindaghost 3 года назад

      @@CodingNepal you care about your subscribers :)

    • @laks5ya00
      @laks5ya00 3 года назад

      Really , okay I try

  • @savanaassasinandy716
    @savanaassasinandy716 Год назад

    Thank you very much! It helped me a lot 💜

  • @sk3424
    @sk3424 2 года назад

    you saved me , thank you so much , it works perfectly

  • @salmaechams9704
    @salmaechams9704 2 года назад

    Very Helpful . Thank you !

  • @wealthBKonnect
    @wealthBKonnect 3 года назад +1

    good work man, Thanks

  • @shawnjoseph3542
    @shawnjoseph3542 3 года назад

    Ohhh thank u so much brother you are a life saver 😍 😍 😍

  • @yubiroaster6285
    @yubiroaster6285 3 года назад +1

    Awesome brother ❤️✌️🇳🇵

  • @amarnathprajapati2543
    @amarnathprajapati2543 3 года назад

    Thank you so much, Sir.
    This content is very helpful for me.

  • @kamaldhakal4610
    @kamaldhakal4610 3 года назад +1

    Awesome Lots of love yar🥰🥰

  • @gingineer_opriasa3890
    @gingineer_opriasa3890 3 года назад +1

    Thank you so much brother.

  • @girikrishna7235
    @girikrishna7235 3 года назад

    Bro I love your videos and I really appreciate your hard work!!!
    Could you please make a video on how to host a php website plssss?
    Would be really helpful if you’d create one.
    Thank you so much♥️🙌🏾

  • @karthikrp0075
    @karthikrp0075 3 года назад +3

    Bro...can we use any of your send mail videos tutorials by configuring xampp

  • @CreativeTutorialsWeb
    @CreativeTutorialsWeb 3 года назад

    Thanks for everything Sir

  • @syammohanan9745
    @syammohanan9745 3 года назад

    Thank you so much bro....🤝

  • @shubhampai8758
    @shubhampai8758 3 года назад

    you are best my saviour!!!!!!!!!!!!!!!!!!!!!!

  • @notyomama2981
    @notyomama2981 3 года назад +2

    Thank you bro, lifesaver !!!! how do we do it from live server?

    • @CodingNepal
      @CodingNepal  3 года назад

      Just upload the mail.php file inside the public_html folder of your hosting and open it on the browser yourdomain/mail.php.

    • @notyomama2981
      @notyomama2981 3 года назад

      @@CodingNepal so we don't need to change anything like you changed in the xampp

  • @abulalalalalaabulala4521
    @abulalalalalaabulala4521 3 года назад +1

    I show here that the email was sent successfully but I still haven't received the message. What's the problem? Please help me thanks

  • @jalalhossainabir1097
    @jalalhossainabir1097 3 года назад +1

    thank you brother❤️

  • @gmadhan6393
    @gmadhan6393 3 года назад +1

    Thanks dude❤

  • @donjose7162
    @donjose7162 7 месяцев назад +1

    its showing email sent successfully but nothing is showing inside my inbox

    • @CodingNepal
      @CodingNepal  7 месяцев назад

      I've explained about this problem on this blog post: www.codingnepalweb.com/configure-xampp-to-send-mail-from-localhost/

  • @Beatless-pt5rf
    @Beatless-pt5rf 3 года назад +1

    your so good man :)

  • @Wufyiofkes
    @Wufyiofkes 3 года назад +1

    It didnt work even though i don’t have 2 factor turned on it just shows failed while sending mail :(

  • @x.von5
    @x.von5 3 года назад +1

    @CodingNepal It show here that the email was sent successfully, but I still haven't received the message. What's the problem? Please help me thanks

  • @raokaran1008
    @raokaran1008 3 года назад +2

    Email sent successfully but not received on my mail what can do now?

  • @jwaher8337
    @jwaher8337 2 года назад +1

    Anyone here after Google turning of “less access ..” feature?:( how we sending emails without it ? Help us please

    • @traciss
      @traciss 2 года назад +3

      Try using outlook. I just tried it and it works. It uses the same port and you don't need to go into any outlook settings to configure it.

    • @jwaher8337
      @jwaher8337 2 года назад

      @@traciss thank you so much

    • @jwaher8337
      @jwaher8337 2 года назад

      If anyone here is looking for a solution like me, I found a great tutorial in “ Vidur Vasista” channel, the video was 5 months ago.. it’s very helpful.

    • @ehtishamyousaf4585
      @ehtishamyousaf4585 2 года назад +1

      @@traciss How can you explain a little bit?

    • @victor_chaz
      @victor_chaz 2 года назад +1

      @@traciss Thank you so much😊

  • @laks5ya00
    @laks5ya00 3 года назад

    I trust that's why I like this video

  • @parceus4758
    @parceus4758 3 года назад +1

    Sir, is there any way to avoid turning off the "Less access... blabla" in gmail? but still the system works?

  • @inigogillancristobal4867
    @inigogillancristobal4867 3 года назад

    thanks its working !! its a life hack

  • @ddop86
    @ddop86 Год назад +1

    after doing all this my localhost stopped working please help

  • @priyasrinivas1594
    @priyasrinivas1594 Год назад

    I'm getting error
    Uncaught error:call to undefined function main() in sendMail. Php on line 7
    Please help me

  • @aryan2405
    @aryan2405 3 года назад +1

    You are very helpful brother... Wish I could communicate with you! ✊😍🙂

  • @RahulMaurya-tx1wr
    @RahulMaurya-tx1wr 2 года назад

    Less secure options not coming in my gmail account

  • @WebDevloper-b9k
    @WebDevloper-b9k Год назад

    Bro error is showing failed while sending code I have followed all steps as show ,,,, plz teach in other steps and I have changed the password with apps password as well

  • @indiangamerkaran6373
    @indiangamerkaran6373 3 года назад +1

    Bro please make video on woring search bar that search in website content in javascript. Please.........

  • @tanny_edits
    @tanny_edits 2 года назад

    this means that only one user can send email? it fails when i change the email address im going to send to

  • @marinaantonellaarmasaguila2339
    @marinaantonellaarmasaguila2339 2 года назад +1

    this is also for windows? it doesn't work

    • @testingsites2608
      @testingsites2608 2 года назад +1

      Hey Marina
      Google has ruled out less secure apps as of June 2022
      This means that we can't use gmail to send emails from localhost anymore.
      It doesn't work on Yahoo either.
      Do you have a hosting account?
      You should use your hosting account instead.

  • @codingindialtd4866
    @codingindialtd4866 3 года назад

    Bro can you share how to change the theme of the blogger.
    Blogspot themes are not good and downloaded themes are showing error

  • @leowilsacoso7657
    @leowilsacoso7657 2 года назад

    sir the Google automatically disable this feature; the Less Secure App Access. What should I do then?thank you

  • @supertimenewsng
    @supertimenewsng Год назад +1

    Hi friend thanks alot

  • @ahronerivera8696
    @ahronerivera8696 2 года назад

    the less secure app access isn't available anymore what can I do?

  • @shaheerasiftipsandtricks3184
    @shaheerasiftipsandtricks3184 3 года назад

    Hi
    Can you create a video about creating website like wix or wordpress

  • @abdelkadertalbi7063
    @abdelkadertalbi7063 Год назад

    can't find sendmail in my xampp directory?

  • @jimuelbaraero678
    @jimuelbaraero678 2 года назад

    the sendail folder missing!

  • @AnjuGupta-jy6lj
    @AnjuGupta-jy6lj 2 года назад

    i dont know why but i have followed all your steps, but my email is not going in my gmail

  • @johnnybrader9983
    @johnnybrader9983 9 месяцев назад

    theres no less secure option anymore?does it still work?

  • @guts1121
    @guts1121 2 года назад

    Thanks!

  • @UICreativeStudio
    @UICreativeStudio 3 года назад

    Warning: mail(): SMTP server response: 530 5.7.0 Must issue a STARTTLS command first. b18sm13331478pfi.199 - gsmtp in C:\xampp\htdocs\testing\index.php on line 7
    Sorry, failed while sending mail, if so, why?

  • @Trina608
    @Trina608 3 года назад +1

    Hi, it is still not sending, what should I do next? I followed everything on your tutorial. Thanks

    • @CodingNepal
      @CodingNepal  3 года назад +1

      Delete all the files of the xampp and download it again and install then follow the given steps. Hope this will work.

  • @husseinhadliye2992
    @husseinhadliye2992 2 года назад

    @CodingNepal hi starting from 30 may this option is not supported what is the solution

  • @АдинаМейрамханова
    @АдинаМейрамханова 3 года назад

    Thank you!!!!!

  • @n.nayak_48
    @n.nayak_48 2 года назад

    How to add this into your person portfolio website

  • @yahsaikol6279
    @yahsaikol6279 2 года назад

    Less secure app access
    To protect your account, apps and devices that use less secure sign-in technology are blocked.
    To keep your account secure, Google will automatically turn this setting OFF if it’s not being used.
    This setting is no longer available. Find out more
    huhuh :(

    • @CodingNepal
      @CodingNepal  2 года назад

      I've explained the solution here: www.codingnepalweb.com/configure-xampp-to-send-mail-from-localhost/

  • @sh44ko58
    @sh44ko58 3 года назад +2

    only for win32...

    • @CodingNepal
      @CodingNepal  3 года назад +1

      No, it's also work for win64 too.

  • @flopandbestscenes5300
    @flopandbestscenes5300 Год назад

    How to do with custom domain

  • @Ex-Coder
    @Ex-Coder 3 года назад

    How it's actually work...?
    Can you please Explain , sir....

  • @karthikrp0075
    @karthikrp0075 3 года назад +1

    Bro please do Sign up form with Google and Facebook tutorial bro 🙏

  • @harikesavan007
    @harikesavan007 3 года назад

    Sir I also tried in my local host it's work prefect but not in live server it's pop as SMTP authenticate failed. Even I'm on sendmail setting in my hosting website.🙏 pls help bro

  • @SatyanarayanaRapeti-xs9gb
    @SatyanarayanaRapeti-xs9gb Год назад

    Bro I'm getting failed while sending code

  • @vdheenadhayalan5802
    @vdheenadhayalan5802 3 года назад +1

    @CodingNepal sir I also tried in sendmail even its On, but its pop as smtp authentic failed 😔 help pls

    • @CodingNepal
      @CodingNepal  3 года назад

      It's working fine in paid hosting but maybe in 000webshot there is problem. Someone has already asked this question in 000webshot forum...please visit - www.000webhost.com/forum/t/php-mail-not-sending/9248

    • @Anonymous-jx4zp
      @Anonymous-jx4zp 3 года назад +1

      @@CodingNepal brother is this working in infinityfree? It is a free hosting with php.

    • @CodingNepal
      @CodingNepal  3 года назад

      @@Anonymous-jx4zp Yes it's work but check they provide free mail service or not

  • @gab3498
    @gab3498 3 года назад

    it still says Sorry, failed while sending mail!

  • @katlinsage9371
    @katlinsage9371 2 года назад

    yeah, bug sender has always been my first choice for my email scam.

  • @tridipkundu-0770
    @tridipkundu-0770 3 года назад

    Sir how can I take the email as user input .......

  • @niteshtiwari8767
    @niteshtiwari8767 2 года назад

    It show succes but i didn't received a email why so?

  • @swastikjainsj
    @swastikjainsj 2 года назад

    we need net ?

  • @rajaammar5784
    @rajaammar5784 2 года назад

    Hello sir
    Error was removed but email was not send need help

    • @CodingNepal
      @CodingNepal  2 года назад

      Make sure recipient email address is exist and check spam folder too.

    • @rajaammar5784
      @rajaammar5784 2 года назад

      @@CodingNepal yes email address is exist

    • @rajaammar5784
      @rajaammar5784 2 года назад

      @@CodingNepal and i also add app lock

  • @brandonbanji5740
    @brandonbanji5740 Год назад

    please i will like to access your webpage but it not responding

  • @Adamakmar
    @Adamakmar 3 года назад

    I didn't find the sendmail file in wamp64

  • @natasyakoizora5036
    @natasyakoizora5036 2 года назад

    How to Configure in mamp pro?

  • @adrianhernandez1807
    @adrianhernandez1807 Год назад

    it does not work anymore

  • @katlinsage9371
    @katlinsage9371 2 года назад

    yeah, bug sender has always been my first choice for my email scam

  • @jayar5629
    @jayar5629 3 года назад

    why its error sending mail?

  • @Adamakmar
    @Adamakmar 3 года назад

    How if i'm using wamp...help me pls...

  • @nimeshajayawickrama3730
    @nimeshajayawickrama3730 3 года назад

    I doesn't work for me

  • @kmtechnicalgamer5379
    @kmtechnicalgamer5379 2 года назад

    Xampp is not on android so what I can do pls make a video on android

  • @mfs6165
    @mfs6165 3 года назад

    thank bro

  • @digitalfoodcorner6164
    @digitalfoodcorner6164 3 года назад

    I am not getting verification code on email

  • @papapapilla5381
    @papapapilla5381 3 года назад

    Not working sir, after follow this step

  • @codingindialtd4866
    @codingindialtd4866 3 года назад

    How to build Professional College site

  • @saqibjaved7744
    @saqibjaved7744 3 года назад +1

    nice

  • @The_OnlyWarrior
    @The_OnlyWarrior 3 года назад +2

    First

  • @fuggeldev
    @fuggeldev 2 года назад

    Love you

  • @MrAndroidianBro
    @MrAndroidianBro 3 года назад +1

    First comment

  • @PAVANKUMARPONUGOTI
    @PAVANKUMARPONUGOTI 3 года назад

    Yahoo mail not working

  • @luciferthefallenangel2235
    @luciferthefallenangel2235 3 года назад

    failed......................!!