How to Configure XAMPP to Send Mail From Localhost? Send Mail From Localhost XAMPP Using Gmail

Поділитися
Вставка
  • Опубліковано 3 січ 2025

КОМЕНТАРІ • 35

  • @stevenalex9439
    @stevenalex9439 Рік тому +4

    Thank you. Note: I had to replace this line
    sendmail_path = "d:\xampp\sendmail\sendmail.exe -t"
    because previous was not working, the format is different, and in the next video I had to add the FROM on the structure form to be able to create the email

    • @travispoole3370
      @travispoole3370 9 місяців тому

      Me too. After changing that line it worked.

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

    Amazing content! Helped me to integrate gmail into my contact page. It's the simple things that often go unexplained and I thank this creator for sharing this with us. :)

  • @spiroskounos9752
    @spiroskounos9752 18 днів тому

    Thank you very much! Saved my day!!

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

    helped me with my assignment. Thank you brother!

  • @LoganTrahan-d6b
    @LoganTrahan-d6b Рік тому +1

    I don't have the sendmail directory

  • @miyagenco.ltd.3100
    @miyagenco.ltd.3100 Рік тому +3

    I didn't see App password in my gmail account

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

      go to security tab then turn on two step authentication after you will see it under two step auth

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

      Yours may be different from the video uploader, me too, that's after you click into 2 step authentication and roll to the bottom, you can

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

      type (app) on the search box it will apear

    • @yamitora791
      @yamitora791 4 місяці тому

      U need to turn on 2 step verification for that

  • @gameblog1725
    @gameblog1725 6 місяців тому

    You're legend!

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

    Thanks mate you helped me much, it worked, but I had to disable secure login to allow a log in with just a password, I didn't find an option for app passwords

  • @عدنانمهداوي-ن5ث
    @عدنانمهداوي-ن5ث 7 місяців тому

    not found sendemail folder !!!

  • @yassine6698
    @yassine6698 7 місяців тому

    merci beaucoup j'ai resolu le probleme🥰

  • @GiovanniAndreotti-b2l
    @GiovanniAndreotti-b2l Рік тому

    with windows 64bit how i can modify the code ?

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

    dont have app password in google account, what should i do?

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

      Watch this 1 min video:
      ua-cam.com/video/Gu4ifdBkrNM/v-deo.html

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

    what do u mean by gmail id

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

    is it the same if i use wamp server

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

    How can i reach on to you pls

  • @somthing7286
    @somthing7286 11 місяців тому

    i get an error that says: 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\cookies\send.php on line 33
    how do i fix this :(

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

      @nithin6654 i think so! i had to restart xampp. open xampp control panel, click "stop" on apache and mysql, click "start" after successfully stopped and thats all.

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

      @@nithin6654i think so! i had to open xampp control panel click "stop" on apache and mysql, then click "start" after both have stopped completely

    • @Alpha_Precious
      @Alpha_Precious 9 місяців тому

      ​@@nithin6654 did you get the same error too? And were you able to solve it?

    • @nithin6654
      @nithin6654 9 місяців тому

      @@Alpha_Precious no

    • @Alpha_Precious
      @Alpha_Precious 9 місяців тому

      @@nithin6654 damn! I need this feature for my project. Did you find another method that was successful elsewhere?

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

    thank youuuuuuuu soo much

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

    im using linux what should I change in php.ini?