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

แชร์
ฝัง
  • เผยแพร่เมื่อ 12 ม.ค. 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/

    • @Anonymous-jx4zp
      @Anonymous-jx4zp 3 ปีที่แล้ว

      Thanks alot bro

    • @Anonymous-jx4zp
      @Anonymous-jx4zp 3 ปีที่แล้ว

      Ramro video rakhnuvo

    • @neerajgautam2075
      @neerajgautam2075 3 ปีที่แล้ว

      Gmail msg is not coming

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

    • @raheelanwaar2812
      @raheelanwaar2812 2 ปีที่แล้ว

      @@Anonymous-jx4zp Zawal 🤗🤗^😇💕

  • @gunawanbudi7073
    @gunawanbudi7073 3 ปีที่แล้ว +3

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

  • @kreasiopensource8729
    @kreasiopensource8729 3 ปีที่แล้ว +3

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

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

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

  • @ismw5865
    @ismw5865 2 ปีที่แล้ว

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

  • @abdielstudio7715
    @abdielstudio7715 3 ปีที่แล้ว

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

  • @jake19077
    @jake19077 3 ปีที่แล้ว +1

    I love your codings. Keep it up 🔥

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

  • @TutulPortal
    @TutulPortal 3 ปีที่แล้ว

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

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

  • @saqibjaved7744
    @saqibjaved7744 3 ปีที่แล้ว +1

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

  • @karthikrp0075
    @karthikrp0075 3 ปีที่แล้ว +3

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

  • @ALONE-RIDERN160
    @ALONE-RIDERN160 3 ปีที่แล้ว +1

    Legend of Nepal 🇳🇵❤️❤️

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

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

  • @MuhammadUsman-kf2hx
    @MuhammadUsman-kf2hx 2 ปีที่แล้ว

    Thanks bro ☺️ really needed such a video

  • @parceus4758
    @parceus4758 2 ปีที่แล้ว +1

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

  • @anasbraim4489
    @anasbraim4489 3 ปีที่แล้ว

    You are my hero bro, keep going

  • @donjose7162
    @donjose7162 6 หลายเดือนก่อน +1

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

    • @CodingNepal
      @CodingNepal  6 หลายเดือนก่อน

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

  • @amarnathprajapati2543
    @amarnathprajapati2543 3 ปีที่แล้ว

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

  • @Wufyiofkes
    @Wufyiofkes 3 ปีที่แล้ว +1

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

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

  • @shawnjoseph3542
    @shawnjoseph3542 3 ปีที่แล้ว

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

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

  • @raokaran1008
    @raokaran1008 3 ปีที่แล้ว +2

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

  • @savanaassasinandy716
    @savanaassasinandy716 ปีที่แล้ว

    Thank you very much! It helped me a lot 💜

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

  • @yubiroaster6285
    @yubiroaster6285 3 ปีที่แล้ว +1

    Awesome brother ❤️✌️🇳🇵

  • @sk3424
    @sk3424 2 ปีที่แล้ว

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

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

  • @ddop86
    @ddop86 ปีที่แล้ว +1

    after doing all this my localhost stopped working please help

  • @salmaechams9704
    @salmaechams9704 2 ปีที่แล้ว

    Very Helpful . Thank you !

    • @CodingNepal
      @CodingNepal  2 ปีที่แล้ว

      Glad it was helpful!

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

  • @indiangamerkaran6373
    @indiangamerkaran6373 3 ปีที่แล้ว +1

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

  • @husseinhadliye2992
    @husseinhadliye2992 2 ปีที่แล้ว

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

  • @johnnybrader9983
    @johnnybrader9983 8 หลายเดือนก่อน

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

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

  • @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♥️🙌🏾

  • @RahulMaurya-tx1wr
    @RahulMaurya-tx1wr 2 ปีที่แล้ว

    Less secure options not coming in my gmail account

  • @kamaldhakal4610
    @kamaldhakal4610 3 ปีที่แล้ว +1

    Awesome Lots of love yar🥰🥰

    • @CodingNepal
      @CodingNepal  3 ปีที่แล้ว

      Many many thanks 😃

    • @kamaldhakal4610
      @kamaldhakal4610 3 ปีที่แล้ว

      @@CodingNepal always welcome yar

  • @priyasrinivas1594
    @priyasrinivas1594 ปีที่แล้ว

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

  • @ahronerivera8696
    @ahronerivera8696 2 ปีที่แล้ว

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

  • @gingineer_opriasa3890
    @gingineer_opriasa3890 2 ปีที่แล้ว +1

    Thank you so much brother.

    • @CodingNepal
      @CodingNepal  2 ปีที่แล้ว +1

      You are most welcome

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

  • @wealthBKonnect
    @wealthBKonnect 3 ปีที่แล้ว +1

    good work man, Thanks

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

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

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

  • @shaheerasiftipsandtricks3184
    @shaheerasiftipsandtricks3184 3 ปีที่แล้ว

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

  • @n.nayak_48
    @n.nayak_48 2 ปีที่แล้ว

    How to add this into your person portfolio website

  • @leowilsacoso7657
    @leowilsacoso7657 2 ปีที่แล้ว

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

  • @CreativeTutorialsWeb
    @CreativeTutorialsWeb 3 ปีที่แล้ว

    Thanks for everything Sir

  • @abdelkadertalbi7063
    @abdelkadertalbi7063 ปีที่แล้ว

    can't find sendmail in my xampp directory?

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

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

  • @syammohanan9745
    @syammohanan9745 2 ปีที่แล้ว

    Thank you so much bro....🤝

  • @tridipkundu-0770
    @tridipkundu-0770 3 ปีที่แล้ว

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

  • @brandonbanji5740
    @brandonbanji5740 ปีที่แล้ว

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

  • @Ex-Coder
    @Ex-Coder 3 ปีที่แล้ว

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

  • @katlinsage9371
    @katlinsage9371 2 ปีที่แล้ว

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

  • @jimuelbaraero678
    @jimuelbaraero678 2 ปีที่แล้ว

    the sendail folder missing!

  • @gab3498
    @gab3498 3 ปีที่แล้ว

    it still says Sorry, failed while sending mail!

  • @DingoreAditya
    @DingoreAditya 11 หลายเดือนก่อน

    The requested URL was not found on this server.
    Apache/2.4.58 (Win64) OpenSSL/3.1.3 PHP/8.2.12 Server at localhost Port 80 I,m getting this after searching for localhost/mail.php what should i do

  • @Adamakmar
    @Adamakmar 3 ปีที่แล้ว

    I didn't find the sendmail file in wamp64

  • @SatyanarayanaRapeti-xs9gb
    @SatyanarayanaRapeti-xs9gb 11 หลายเดือนก่อน

    Bro I'm getting failed while sending code

  • @flopandbestscenes5300
    @flopandbestscenes5300 ปีที่แล้ว

    How to do with custom domain

  • @swastikjainsj
    @swastikjainsj 2 ปีที่แล้ว

    we need net ?

  • @katlinsage9371
    @katlinsage9371 2 ปีที่แล้ว

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

  • @natasyakoizora5036
    @natasyakoizora5036 2 ปีที่แล้ว

    How to Configure in mamp pro?

  • @Adamakmar
    @Adamakmar 3 ปีที่แล้ว

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

  • @kmtechnicalgamer5379
    @kmtechnicalgamer5379 2 ปีที่แล้ว

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

  • @jalalhossainabir1097
    @jalalhossainabir1097 3 ปีที่แล้ว +1

    thank you brother❤️

    • @CodingNepal
      @CodingNepal  3 ปีที่แล้ว +1

      My pleasure brother

  • @karthikrp0075
    @karthikrp0075 3 ปีที่แล้ว +1

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

  • @jayar5629
    @jayar5629 3 ปีที่แล้ว

    why its error sending mail?

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

  • @aryan2405
    @aryan2405 3 ปีที่แล้ว +1

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

  • @sh44ko58
    @sh44ko58 3 ปีที่แล้ว +2

    only for win32...

    • @CodingNepal
      @CodingNepal  3 ปีที่แล้ว +1

      No, it's also work for win64 too.

  • @niteshtiwari8767
    @niteshtiwari8767 2 ปีที่แล้ว

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

  • @shubhampai8758
    @shubhampai8758 3 ปีที่แล้ว

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

  • @codingindialtd4866
    @codingindialtd4866 3 ปีที่แล้ว

    How to build Professional College site

  • @nimeshajayawickrama3730
    @nimeshajayawickrama3730 3 ปีที่แล้ว

    I doesn't work for me

  • @papapapilla5381
    @papapapilla5381 3 ปีที่แล้ว

    Not working sir, after follow this step

  • @PAVANKUMARPONUGOTI
    @PAVANKUMARPONUGOTI 3 ปีที่แล้ว

    Yahoo mail not working

  • @gmadhan6393
    @gmadhan6393 3 ปีที่แล้ว +1

    Thanks dude❤

  • @adrianhernandez1807
    @adrianhernandez1807 ปีที่แล้ว

    it does not work anymore

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

  • @digitalfoodcorner6164
    @digitalfoodcorner6164 3 ปีที่แล้ว

    I am not getting verification code on email

  • @laks5ya00
    @laks5ya00 3 ปีที่แล้ว

    I trust that's why I like this video

  • @supertimenewsng
    @supertimenewsng ปีที่แล้ว +1

    Hi friend thanks alot

  • @Beatless-pt5rf
    @Beatless-pt5rf 3 ปีที่แล้ว +1

    your so good man :)

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

  • @luciferthefallenangel2235
    @luciferthefallenangel2235 3 ปีที่แล้ว

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

  • @АдинаМейрамханова
    @АдинаМейрамханова 2 ปีที่แล้ว

    Thank you!!!!!

  • @guts1121
    @guts1121 2 ปีที่แล้ว

    Thanks!

  • @inigogillancristobal4867
    @inigogillancristobal4867 3 ปีที่แล้ว

    thanks its working !! its a life hack

  • @mfs6165
    @mfs6165 3 ปีที่แล้ว

    thank bro

  • @codingwithkenny6492
    @codingwithkenny6492 3 ปีที่แล้ว +1

    Not first lol

  • @MrAndroidianBro
    @MrAndroidianBro 3 ปีที่แล้ว +1

    First comment

  • @The_OnlyWarrior
    @The_OnlyWarrior 3 ปีที่แล้ว +2

    First

    • @CodingNepal
      @CodingNepal  3 ปีที่แล้ว +1

      Great and thank you!