How to send mail in PHP from localhost using XAMPP server with Source Code in 2020

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

КОМЕНТАРІ • 652

  • @ThapaTechnical
    @ThapaTechnical  4 роки тому +20

    FREE ➡️ PHP MAIL CODE: www.thapatechnical.com/2020/03/how-to-send-mail-from-localhost-xampp.html

    • @codeella2947
      @codeella2947 4 роки тому +4

      Bhai apko tailwind css ati hai to us ki b video bnao plz tailwind css in one video

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

      📱💻😵😵😵😘💲💰

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

      Sir please help.. there is a issue..
      PHP Syntax Check: Parse error: syntax error, unexpected end of file in your code on line 31
      ?>
      can you explain how to solve this this one?

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

      Gmail and Facebook se kese registration kore

    • @aviseksahoo1953
      @aviseksahoo1953 4 роки тому +2

      @Soumaditya Chaudhuri
      Warning: mail(): Failed to connect to mailserver at "localhost" port 25, verify your "SMTP" and "smtp_port" setting in php.ini or use ini_set() i face this error even if i restart the xampp but still i find this error

  • @rns2107
    @rns2107 3 роки тому +6

    love frm Bangladesh 🇧🇩. Thanx sir❤❤

  • @shamimsarker839
    @shamimsarker839 3 роки тому +10

    I don't know, why #INDIANS are so awesome in explaining codings so much??
    I just love #INDIAN_TUTORIALS.....So much love and respect from #BANGLADESH

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

    Last year google updated the policy so change the password to the Application code which you get after 2-step verification.
    Thank you sir

  • @KnowledgeEnthusiast
    @KnowledgeEnthusiast 4 роки тому +10

    Vinod Thapa Sir, you Are an Amazing and Good Teacher. Please keep you good work continue. Best Wishes to You. Nice Work. You have made an Absolutely Hard & Complex Education into a Simplified Presentable in our local Hindi Language. I am Very Happy Now, All Thanks to you. Great Job. Well Done. 👍🙏♥

    • @ThapaTechnical
      @ThapaTechnical  4 роки тому +5

      Welcome bro ☺️ bas apna support yaisa he banaye rkhna

    • @KnowledgeEnthusiast
      @KnowledgeEnthusiast 4 роки тому +2

      @@ThapaTechnical Bilkul sir Bilkul hum ye Support continue rakhenge. ❤️👍

    • @CodersGyan
      @CodersGyan 4 роки тому +2

      That’s so inspiring:)

    • @aviseksahoo1953
      @aviseksahoo1953 4 роки тому +2

      did your mail code working , i face error again and again
      Warning: mail(): Failed to connect to mailserver at "localhost" port 25, verify your "SMTP" and "smtp_port" setting in php.ini or use ini_set()

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

    Once Upon a Time, ek baccha tha. Ushka dil bhi baccha tha. Ushe help karne waala bhi koi nehi tha.
    Phir ushe aap mil gaaye. Phir mera mail bhi send ho gaya. :D
    Anyway, Thank You So Much, Sir, For Your Awesome Video!!

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

    fabulous job sir.. Struggling to get on with it since 2 days but after watching your video, I got success withing few hours and all doubts are clarified. Thank you.

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

      Bhai mera msg toh aagya email sent successfully but email nahi aayi

  • @bharatiwagh9499
    @bharatiwagh9499 3 роки тому +1

    very very thanks vinod ...my code is working now .......thank you so much...i mfollowing your all videos

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

      Hlo contact me my code is not work

  • @shashanksajjan7016
    @shashanksajjan7016 2 роки тому +2

    This is old tutorial there has been some updates, but thanks to you I got what I wanted, please update this video

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

    I am Very happy To Visiting your Channel Thapa Technical and subscribed now
    It works 💯%
    From Somaliland 👍👍

  • @adventureofsm
    @adventureofsm 4 роки тому +2

    I was stuck from last three days for completing projects, you helped a lot. You explained how to configure the SMTP server etc . Thank you so much @Thapa Technical

    • @aviseksahoo1953
      @aviseksahoo1953 4 роки тому +2

      did your mail code working , i face error again and again
      Warning: mail(): Failed to connect to mailserver at "localhost" port 25, verify your "SMTP" and "smtp_port" setting in php.ini or use ini_set()

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

      i also get the same error number of time....how can i fix this error....plzzz help me

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

      Yes any solution ?

  • @Alaminhossen-ez9ql
    @Alaminhossen-ez9ql 2 роки тому

    Thank you so much, i am trying to do it for last 6 months but I couldn't finally today i success just for you and thanks one more.

  • @SkyfrostFilmsMausamBahar
    @SkyfrostFilmsMausamBahar 3 роки тому +1

    Thank you so much BHAI.... you just made it so much easier...Thanks again!!!

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

    at last I can send mail after 6 month to see your video.
    thanks a lot

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

    Thank you sir ,your video helped me alot . Keep makimg this type of video

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

    Dai ma first commenter nice video

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

    Thank you sir. The last part certainly resolved the issue.

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

    Thapa bhai kasam se bhai agar mai apke vedios ko 1million like de pata to jaroor deta
    but share to pakka karunga ... Good job bro

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

    Amazing video. worked well after changes for less secure app. Bohot dino se dhund rha tha but kahi bhi sahi nhi mila, but you rocked. thanks a lot man. Ye Oauth ko bhi smjhao kabhi.

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

    thanks sir i am very thankful to u i am doing my uni project this video help me a lot

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

    Great..! It's work for me. But I had to turn on the "less secure app" option from my sender gmail security setting.

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

    Awesome video bro
    I cant believe this method actually works
    Thanks a lot ☺️

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

    thank you so much sir.....Ye video sach me work hua....Ending ki google setting kisi ne nhi bataya par aapne bataya jisse mera gmail sending function work hone lgaaa...Please Email varification through PHP Mailer ka bhi ek video banao...

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

      bhai meko bhi bata do ye ending ki google setting

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

    Waoo sir Maja agya thank you so much God bless you.......

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

    Bahot badhiya Thapa Sir :)

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

      did your mail code working , i face error again and again
      Warning: mail(): Failed to connect to mailserver at "localhost" port 25, verify your "SMTP" and "smtp_port" setting in php.ini or use ini_set()

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

    Hai Thapa Sir
    Lastly
    My code is run error free.
    and
    Finally I send to message any Gmail (Who is Secure or not)
    God bless you🙏🙏🙏🙏🙏
    Thank you so much
    ❤❤❤❤❤🌹🌹🌹🌹🌹👍👍👍💯💯💯✌👌👌

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

      bhai mera code ok h bilkul but failed to connect smtp server ki warning aayi ek br
      but dobara sending failed likha hua ara plz solution bataiye

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

      @@Sakoon_writes Bro, Tum again code me jaao spelling error dekho
      If all are done
      Then
      Tum ek new Gmail create karo and
      Usko less secure rakho..
      Then your mail is sended to anyone.
      I hope
      You doing well..
      Thanks❤🌹😊

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

    Pakka working thank you🙏🙏🙏😊😊😊😊😊😊😊😊😊😊😊though i dont know hindhi i hav done it 🙏🙏🙏🙏

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

    Done sir thank you so much for making this important topic.

  • @Sahil-xo5en
    @Sahil-xo5en 3 роки тому

    Sir, yeh whatsapp nhi hai, youtube hai 🤣😂 btw you are best 😇

  • @rabnawazchohan4107
    @rabnawazchohan4107 3 роки тому +4

    Warning: mail(): Failed to connect to mailserver at "localhost" port 25, verify your "SMTP" and "smtp_port" setting in php.ini or use ini_set() in C:\xampp\htdocs\Mail sending\mail.php on line 7
    Email sending failed...

  • @sejalchaudhari9072
    @sejalchaudhari9072 4 роки тому +3

    Sir sry..but I am still getting msg Email sending failed... Can u please tell what's the problem...I repeat each and every step properly...plz help sir... please sir reply it's urgent.. please

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

    Bina dekhe hi like kiye h . Kyun ki mujhe aisi hi video ki taalash thi

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

      Waw

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

      @@ThapaTechnical kiya waw upper bandey ney bola hai ky uska nae horaha ap uska jawab nae dey ray -_- mera bhe nae chal raha kindly comment tou karey key bhai mujy troubleshooting nae ati

  • @Er.MeetPatel
    @Er.MeetPatel 2 роки тому +1

    Awesome 😎😎

  • @supritbeck
    @supritbeck 4 роки тому +10

    Could you please make a video on how to enable a user to recover the password using PHP MySQL ( Forgot password? ) and also email verification in the sign up page.

  • @msh_dev
    @msh_dev 4 роки тому +2

    To the people having email sending mail failed turn on less secure app in your gmail account setting.Thanks

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

    Mind blowing video aapse bahut khuch sikhne ko milta hai aap nepal se hai.

  • @pratikdigraskar
    @pratikdigraskar 3 роки тому +1

    Thank you brother 🙏🏻 it's working

  • @6066ChetanKhairnar
    @6066ChetanKhairnar 3 роки тому

    Thanks man you Solved my doubt :)

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

    I am your Bangladeshi viewrs. Your videos are much better. Thank you for helping us through the video. I will request you. If you do a chat application project

  • @samikshyajena4492
    @samikshyajena4492 3 роки тому +1

    Thank you so much sir.

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

    sir Macbook ke liye bhi banadijiye aisa video

  • @arjunshenoy683
    @arjunshenoy683 3 роки тому +1

    Bhai you are a life saver! thank you so much for explaining the whole concept in a very simple way❤ Thank you so much🙌

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

      @B 24 ATHUL BABU yes, I tried the very same code and the mail function is working properly

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

    Thank You 😉😉

  • @developersandeep6330
    @developersandeep6330 4 роки тому +3

    Awesome.. sir Next video on forgot Password??

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

      did your mail code working , i face error again and again
      Warning: mail(): Failed to connect to mailserver at "localhost" port 25, verify your "SMTP" and "smtp_port" setting in php.ini or use ini_set()

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

      @@aviseksahoo1953 Apka jo bhi issue hai uska screenshot lekar sharwan981052@gmail.com par mail kar dejiye we will be right back to you.

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

    Thanks bro. It was a great help :)

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

    Can anyone please tell me what to do if sendmail folder doesn't exists in xampp folder?

  • @anujveer7668
    @anujveer7668 3 роки тому +4

    Whenever I'm in trouble your videos always helped me a lot 🤍
    Greate work sir👍🏻

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

    you are a saviour!!!!!!!!

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

    Isi ka intezar tha.. Thank u

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

      did your mail code working , i face error again and again
      Warning: mail(): Failed to connect to mailserver at "localhost" port 25, verify your "SMTP" and "smtp_port" setting in php.ini or use ini_set()

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

    ❤️❤️❤️love u sir very much many time

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

    Awesome sir really love it

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

    Thank you sir

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

    Thanks a lot!!!!!
    Very helpful 😭

  • @Swetakumari-fw4lx
    @Swetakumari-fw4lx 4 роки тому

    Awesome Vinod Bro

  • @vibhav8631
    @vibhav8631 4 роки тому +2

    I did not get any error but it not receive to my gmail account i tried it many time...

  • @nehaladhvaryu7975
    @nehaladhvaryu7975 3 роки тому +1

    Thank You Very Much, It is easy to do through your tutorial, thank you very much.

  • @parth_chovatiya
    @parth_chovatiya 3 роки тому +1

    tnx bro

  • @AMIRKHAN-si1te
    @AMIRKHAN-si1te 3 роки тому +4

    Hello,
    i have a problem that when i send message it gives me in response that email sent successfully but the email not recieved to account.
    i have did all the thing that you have shown.
    Kindly help me.

  • @Dev-Dan
    @Dev-Dan 3 роки тому +2

    u deserve a medal sir!

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

    thanks man, u save my life

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

    Thanks bro.
    really thank you..... 🤗

  • @HaseebMemon-h7b
    @HaseebMemon-h7b 11 днів тому

    facing problem in sending email even ini files and code are perfect

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

    Wow.. thank you so much for this

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

    sir ek aur topic samjha dijiye ki kaise search and filter functionality create kr sakte php ke help se

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

    Thanks 🙏🏻 for awesome explanation
    Stay safe from corona virus
    Mail sent krne ke liye net connection ki need h ki nhi ?

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

    Thank You

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

    Thanku so Vinod Bhai ♥️

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

    Thank you so much Sir, It's Helps me

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

    Thank you its really working

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

    Bro, Thankyou very much.

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

    Thank you....

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

    Thapha u r so creative smtp ---> sending mail to people (lol) now new version smtp = sending mail to pooja (may be your gf)

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

    Thank you sir...👍

  • @swetham4476
    @swetham4476 3 роки тому +4

    Even after turned on less secure app.. I'm getting warning: email sending failed

    • @rajesh-mv8je
      @rajesh-mv8je 3 роки тому +2

      i also faced the same problem
      www.geeksforgeeks.org/how-to-configure-xampp-to-send-mail-from-localhost-using-php/
      follow this and make sure u have to comment smtp and port in php.in ( follow above link )

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

      @@rajesh-mv8je thank you 🙏

  • @umairamjad9876
    @umairamjad9876 4 роки тому +3

    I faced the error so please check it
    Error here:
    Warning: mail(): Failed to connect to mailserver at "localhost" port 25, verify your "SMTP" and "smtp_port" setting in php.ini or use ini_set() in C:\xampp\htdocs\Practice\mail_send\send_mail_test.php on line 7
    Email sending failed...

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

      Yes i faced the same error.....✔️✔️✔️✔️✔️✔️

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

      stop the apache and restart it

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

      @@gurinderpartapsingh8694 stop the apache and restart it

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

      @@vinitshah4157 same error , after i restart the apache server again i face same problem

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

      @@vinitshah4157 still I am getting same error

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

    Awesome video sir

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

    thank you so much..

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

    sorry,but I reallly dont think it helped anybody to send the mail.

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

    thank u so much

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

    Thank you very much sir!

  • @baadabagde8068
    @baadabagde8068 4 роки тому +2

    It's not working brother. I followed every step according to the video and getting this error
    Warning: mail(): SMTP server response: 530 5.7.0 Must issue a STARTTLS command first. s10sm14340314pjl.41 - gsmtp in C:\xampp\htdocs\cms\contact.php

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

      You get any solution for this?

  • @lokeshsaipureddi9975
    @lokeshsaipureddi9975 3 роки тому +3

    Getting Error mail(): Bad Message Return Path can someone help plz??

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

    Great Video Sir....I managed to send mail successfully. I request you kindly to make video on send mail through java script on click button if possible....!

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

      did your mail code working , i face error again and again
      Warning: mail(): Failed to connect to mailserver at "localhost" port 25, verify your "SMTP" and "smtp_port" setting in php.ini or use ini_set()

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

    Thank You sir❤
    Mera work ho gaya
    Awesome......

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

      Bro, if code working properly
      Then send code to my e-mail address
      Thanks❤

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

      send me too. please

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

      @@dikshapatil2347 sorry.. aata nahi ahe maza kade code

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

    Thanks boss, it works well.

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

    Nice bhai

  • @RNClass1
    @RNClass1 4 роки тому +3

    सर work नही करता
    कोई error नही दिखाता लेकीन if statment का else part चल रहा है
    Sending mail failed....

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

      Bro google ne xampp ko aapki email access karne se rok diya hoga.... Isliye mail sent nhi hui hogi aur isliye koi error nhi dikhaya.... Btw agar aap error.log mein jaa k dekhoge toh wahan pe agar bad credentials dikhata h toh yahi reason hoga.........

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

      @@tanmaysinghal3387 thanks bro
      Email send हुआ bro
      Error solve
      मैने port change किया
      25 के बदले

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

      @@RNClass1 my pleasure bro

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

      @@RNClass1 kaun sa port number change kiya....in place of 25??I'm facing the error

  • @Vikaskumar-ur5di
    @Vikaskumar-ur5di 4 роки тому

    please make same video on ubuntu 16 and later version thanks for sharing good video

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

    Thank you sooo much!

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

    Warning: mail(): Failed to connect to mailserver at "localhost" port 25, verify your "SMTP" and "smtp_port" setting in php.ini or use ini_set() in C:\xampp\htdocs\OTP\sendmail.php on line 7
    Email sending failed... how to solve this isshu help me

  • @garvittayal5233
    @garvittayal5233 3 роки тому +1

    Not working says no error but still no mail in inbox

  • @buheesasmr5879
    @buheesasmr5879 4 роки тому +3

    Bro ap php oop aur php framework laravel kb start kry gy??

  • @faisalchowdhury3480
    @faisalchowdhury3480 4 роки тому +11

    Why im getting email sending fail every time 😥😥

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

      Did you find the solution ..??

    • @muskangupta1977
      @muskangupta1977 4 роки тому +3

      Go to your file manager >> xampp >> sendmail>> sendmail.exe . Copy its path and paste it to the place where the location has to be pasted b/w the inverted commas. It will start working.

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

      @@muskangupta1977 i already tried this ,but it's still not working ma'am.

    • @RishabhSingh-pq9bi
      @RishabhSingh-pq9bi 4 роки тому

      @@harshitsolanki1754 bhai solution batao kaise hoga

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

      Bhai try kar raha hun..but abhi solution nhi mila , agar aapko mile to zaroor bataiyega

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

    If someone's code output is saying email send failed then they can follow some steps
    Go to google security
    Turn on 2 step authentication
    Go to app password below that name= xampp then click generate copy the app password then paste that in your sendmail.ini password = .. instead of your gmail password I hope it will help you

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

      Thankyouuuuuuuuuu

    • @HeRoisDreamin
      @HeRoisDreamin 3 місяці тому

      where is app password? where will i find that. in google security?
      please reply
      edit: alright i got it by just searching it in google. it is a service provided by google for getting an app specific passoword.
      THANK YOU SO MUCHHHHHHHHHHHH!!!

  • @ShivamKendre-fc3su
    @ShivamKendre-fc3su 4 роки тому

    Great video

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

    Sir, Please make a video how can we create login & registration form using blowfish algorithm. Please please please sir.

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

    Sir mail send horaha hai....lekin gmail me received mail nahi dikhraha hai

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

    Not working bro..

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

    Make series on laravel framework

  • @naincypahariya1515
    @naincypahariya1515 4 роки тому +4

    Can u please help me out I'm getting an error mail(): failed to connect to mailserver at "local host" port 25 verify your SMTP and smtp_port setting in php.ini or use ini_set() in your php file.

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

      I'm also getting the same Error ..now how to sort out it
      ...?do you find any solution..?? And please Sir reply me

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

      restart your apache server and try

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

      @@harshitsolanki1754 same here what to do please help me also

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

      @@CodeWithJamil786 in file xampp/phpmyadmin/config-inc.php and add this line :-
      $cfg['Servers'][$i]['controluser'] = 'root';
      Add this line just before this line >>
      $cfg['Servers'][$i]['controlpass'] = ' ';
      And please tell me if it works 🤗

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

      @@harshitsolanki1754 it's not working dear brother....thank u