How to Send Free SMS using PHP? [With Source Code]

แชร์
ฝัง
  • เผยแพร่เมื่อ 23 มี.ค. 2017
  • Support us on Patreon: / runcodes
    signup with txtlocal: www.textlocal.com/?tlrx=874958
    This Video will show you how to send sms using own PHP script.
    Enable lesssecureapps in google: myaccount.google.com/lesssecu...
    Define Site and Testing Server in Dreamweaver CC: • How to Define Your Sit...
    How to send email using php: • How to Send an Email u...
    Source Code: runcodes.tech/programming/php...
    Download Sendmail from here: drive.google.com/open?id=1rB6...
    Follow us on Social Media:
    Facebook: RunCodesPage
    Instagram: runcodes
    Twitter: RunCodesTwit
    This video is created by Ran and RunCodes own this video. Using of this video on other channels without prior permission will be strictly prohibited. (Embedding to the websites is allowed).. So stop copying and be a responsible people.
  • วิทยาศาสตร์และเทคโนโลยี

ความคิดเห็น • 125

  • @mahalakshmi_-_5123
    @mahalakshmi_-_5123 5 ปีที่แล้ว +2

    Sir this code works in xampp server? And starting u use messenger 3.0, what was that?

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

    hello esque c is possible to miatre on an online domain name?

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

    Sir I'm not receiving any SMS from this code

  • @RuchiAgrawal-dc6dc
    @RuchiAgrawal-dc6dc ปีที่แล้ว

    able to sent mail but unable to recived on phone trying with different numbers as well

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

    Receiving Email to ask me" register on DLT platform "

  • @mikeelisan2575
    @mikeelisan2575 5 ปีที่แล้ว

    nothing happens and i dont even receive email ,

  • @mohamedjaouadi86
    @mohamedjaouadi86 5 ปีที่แล้ว

    sir please i need the software that having the name sendmail , download link not working it redirect me to another page

    • @RunCodes
      @RunCodes  5 ปีที่แล้ว

      I have updated the link check again!

  • @dhereshsoni1272
    @dhereshsoni1272 4 ปีที่แล้ว

    code give error in wamp in mail function - i.e. Failed to connect to mailserver at "sms.textlocal.in" port 465, verify your "SMTP" and "smtp_port" setting in php.ini or use ini_set() in

    • @RunCodes
      @RunCodes  4 ปีที่แล้ว

      you have to watch this video to configure your php.ini which we already told in video th-cam.com/video/g-FivqPobHY/w-d-xo.html

  • @ranjithkumars1741
    @ranjithkumars1741 4 ปีที่แล้ว

    where is "sms.php" file...?

  • @janimiyashaik1411
    @janimiyashaik1411 4 ปีที่แล้ว

    Sir i didn't understood the carrier, for it is showing as "control.testlocal.in/settings/emailtosms", i have submitted carrier as testlocal.in but it is not showing any output

    • @RunCodes
      @RunCodes  4 ปีที่แล้ว

      do same as we did!

  • @sovatnaphon9384
    @sovatnaphon9384 6 ปีที่แล้ว

    Hi, I do not know if we need to pay for the carrier? I have tried many time while it cannot be sent out.

    • @RunCodes
      @RunCodes  6 ปีที่แล้ว

      +Sovatna Phon check your email for error message!

    • @sovatnaphon9384
      @sovatnaphon9384 6 ปีที่แล้ว

      No, there is no incoming email.

  • @RuchiAgrawal-dc6dc
    @RuchiAgrawal-dc6dc ปีที่แล้ว

    Warning: mail(): "sendmail_from" not set in php.ini or custom "From:" header missing in C:\xampp\htdocs\sms\sms.php on line 28
    how can configure the solution

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

    Hello sir, where is the source code? Im sorry

  • @shivanktrivedi7038
    @shivanktrivedi7038 6 ปีที่แล้ว

    i try my bst but not receiving any sms on mobile phone and not geting any error on mail plzzz help me regarding this

    • @RunCodes
      @RunCodes  6 ปีที่แล้ว

      Can u tey with another number?

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

    where is the sms .php file?

  • @Shankar-dz2uw
    @Shankar-dz2uw 4 ปีที่แล้ว

    Bhai mera code run hua par message send nhi hua help koi help karo bro

  • @ryanllarena6723
    @ryanllarena6723 6 ปีที่แล้ว

    Message sent, there is no error in email why it isn't sending ? Help pls 🤒🤒

    • @RunCodes
      @RunCodes  6 ปีที่แล้ว

      Then you should receive SMS! check with another number!

  • @jasonyray9867
    @jasonyray9867 5 ปีที่แล้ว

    Does this work once you've uploaded it to the net? Im not receiving any sms.

    • @RunCodes
      @RunCodes  5 ปีที่แล้ว

      yup! you should

    • @tahirbacha431
      @tahirbacha431 4 ปีที่แล้ว

      Do u need internet for this

  • @tiktokminister5177
    @tiktokminister5177 7 ปีที่แล้ว

    la bro ramro xa tutorial.

    • @RunCodes
      @RunCodes  7 ปีที่แล้ว

      +Sudhir Aryal tnx bro :) we need your support for more tutorial😊

  • @ricmarnavidad70
    @ricmarnavidad70 7 ปีที่แล้ว

    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()
    How to fix that? Thanks :D

    • @RunCodes
      @RunCodes  7 ปีที่แล้ว

      +Ricmar Navidad you need to configure your php.ini file! For tthat, watch this video th-cam.com/video/g-FivqPobHY/w-d-xo.html

  • @yashgandhi9779
    @yashgandhi9779 5 ปีที่แล้ว

    Its not working in india. I had write the code there is no error but i am not getting sms on mobile number

    • @RunCodes
      @RunCodes  5 ปีที่แล้ว

      Try with other sim!

  • @americancitizen748
    @americancitizen748 4 ปีที่แล้ว

    How about a method to determine the carrier if you don't know it beforehand??

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

      Googling 😊

  • @playsportz6933
    @playsportz6933 6 ปีที่แล้ว

    why they cant sent in may phone the text ? :(

    • @RunCodes
      @RunCodes  6 ปีที่แล้ว

      it's not their problem its your problem see the code and try with another gmail account! and you should receive SMS!

  • @maravilla1770
    @maravilla1770 6 ปีที่แล้ว

    there is a problem,
    after clicking the send button the message was in the textbox carrier said that please include an ''@' in the email address. 'txtlocal.co.uk' is missin an '@'.
    i just followed everything.

    • @RunCodes
      @RunCodes  6 ปีที่แล้ว

      you should use this :)

    • @maravilla1770
      @maravilla1770 6 ปีที่แล้ว

      all your methods i followed but still cant send a message.

    • @RunCodes
      @RunCodes  6 ปีที่แล้ว

      what's the problem?

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

      Warning: mail(): "sendmail_from" not set in php.ini or custom "From:" header missing in C:\xampp\htdocs\free\index.php on line 26
      message sent to +639978012693@txt@local.co.uk

    • @RunCodes
      @RunCodes  6 ปีที่แล้ว

      I said in the video before getting started this video you should watch this video th-cam.com/video/g-FivqPobHY/w-d-xo.html! I show you how to set such things in php.ini file! So do watch it!

  • @mariamumtaz500
    @mariamumtaz500 4 ปีที่แล้ว

    I'm from pakistan, what domain name should I use as carrier name for sending messages?

    • @RunCodes
      @RunCodes  4 ปีที่แล้ว

      the one that we mention on video!

  • @awasale
    @awasale 6 ปีที่แล้ว

    How do you develop sms free send and receive via app or through php website? No tolls chargers?

    • @RunCodes
      @RunCodes  6 ปีที่แล้ว

      it's not completely free

    • @awasale
      @awasale 6 ปีที่แล้ว

      TechSupportNep where can I get an sms free

    • @RunCodes
      @RunCodes  6 ปีที่แล้ว

      can't get free you have to pay after certain limit

  • @adanegendisha5267
    @adanegendisha5267 6 ปีที่แล้ว

    it show the message sent to message but i didn't got message.how to fix such error

    • @RunCodes
      @RunCodes  6 ปีที่แล้ว

      try with other number

  • @corneillebilolo9068
    @corneillebilolo9068 6 ปีที่แล้ว

    hello, how to send a message to several people?

    • @RunCodes
      @RunCodes  6 ปีที่แล้ว

      watch this video th-cam.com/video/Os3VP9hIdq0/w-d-xo.html and then separate the phone number by commas ! but you need to use the static method. i.e. you need to write in the phone number source code and cannot take input from the running program!

  • @vandanagupta3420
    @vandanagupta3420 6 ปีที่แล้ว

    what is the use of carrier here

    • @RunCodes
      @RunCodes  6 ปีที่แล้ว

      you don't need to take care about carrier only thing you need to do is add input type for password for the from mail and enter your correct pass and try

  • @thayanithikokulan2466
    @thayanithikokulan2466 7 ปีที่แล้ว

    I am getting the following error message
    Warning: mail(): "sendmail_from" not set in php.ini or custom "From:" header missing in C:\xampp\htdocs\accident\smsone.php on line 25
    But i am also getting the message as below
    Message sent to ....

    • @RunCodes
      @RunCodes  7 ปีที่แล้ว

      set sendmail_from in php.ini :)

    • @thayanithikokulan2466
      @thayanithikokulan2466 7 ปีที่แล้ว

      now the issue is solved and it prompts as message sent but i am not getting any messages. I am using it to sent to a mobile no in Sri Lanka. it also has 10 digit and the code for Sri Lanka is +94. So i entered as +94 avoiding 0 then 77.... so altogether 9 and also tried including 0 and i didn't receive any message and also i didn't receive any emails regarding this error

    • @RunCodes
      @RunCodes  7 ปีที่แล้ว

      check your email address first :) you can find error there :)

    • @RuchiAgrawal-dc6dc
      @RuchiAgrawal-dc6dc ปีที่แล้ว

      this is bcs of local server make it live and use it
      but also my msg not recived on phone after sent message

  • @romneel
    @romneel 6 ปีที่แล้ว

    This worked for me , mail($contact.'@'.$carrier, "$subject", "$message", "From: ".$from); I've put the word "From:" before my email address.

  • @passerbyjohn
    @passerbyjohn 5 ปีที่แล้ว

    the email you use in the send email ini and php ini and in textlocal are the same or not can i use different email in text local i dont quite get it ?

    • @RunCodes
      @RunCodes  5 ปีที่แล้ว

      Yup you can use different email!

    • @passerbyjohn
      @passerbyjohn 5 ปีที่แล้ว

      @@RunCodes ahh thanks

  • @androidbestgames9828
    @androidbestgames9828 7 ปีที่แล้ว

    brother link not working

    • @RunCodes
      @RunCodes  7 ปีที่แล้ว

      +Just Chill which link brother?

  • @akhilkatta1255
    @akhilkatta1255 5 ปีที่แล้ว

    bro can you tell me the code for otp verification

    • @RunCodes
      @RunCodes  5 ปีที่แล้ว

      Here you go th-cam.com/video/6CiAGcT0ZLc/w-d-xo.html

  • @jodelmiranda3098
    @jodelmiranda3098 5 ปีที่แล้ว

    no error and message sent but no receiving any sms message

    • @RunCodes
      @RunCodes  5 ปีที่แล้ว

      Try with another number!

  • @worldvideocollection6270
    @worldvideocollection6270 7 ปีที่แล้ว

    Not working dear , I try my best to run but no response on mobile number

  • @abhisespoudel4490
    @abhisespoudel4490 6 ปีที่แล้ว

    dai ani kati ota sms send garna milchaa ek din no limit ho ki limit chaa

    • @RunCodes
      @RunCodes  6 ปีที่แล้ว

      +abhises poudel 8-10 milxa hola bro!

  • @cyberghostph
    @cyberghostph 6 ปีที่แล้ว

    download link

    • @RunCodes
      @RunCodes  6 ปีที่แล้ว

      see the description section!

  • @Shankar-dz2uw
    @Shankar-dz2uw 4 ปีที่แล้ว

    Bhai koi php file de sakta h

  • @mentalismtrainer
    @mentalismtrainer 5 ปีที่แล้ว

    it is not working

  • @shaikhmoiz
    @shaikhmoiz 5 ปีที่แล้ว

    enable to Download Sendmail from from the link if you have any link please provide me

    • @RunCodes
      @RunCodes  5 ปีที่แล้ว

      see the description section

    • @shaikhmoiz
      @shaikhmoiz 5 ปีที่แล้ว

      @@RunCodes not able to download from that link it is open source

    • @RunCodes
      @RunCodes  5 ปีที่แล้ว

      i upload in google drive and updated the link so check again!

    • @shaikhmoiz
      @shaikhmoiz 5 ปีที่แล้ว

      @@RunCodes please share the link in replay

    • @RunCodes
      @RunCodes  5 ปีที่แล้ว

      drive.google.com/file/d/1xsPyBUxPU6_5_8FVUiLw1wsG3V3pYRbx/view?usp=drivesdk

  • @liviklions7914
    @liviklions7914 5 ปีที่แล้ว

    its not working

    • @RunCodes
      @RunCodes  5 ปีที่แล้ว

      Try again!

  • @nouhaylaelaloui144
    @nouhaylaelaloui144 4 ปีที่แล้ว

    I need source code please 🙏🏼

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

      Link is in the description!

  • @bristydas9818
    @bristydas9818 6 ปีที่แล้ว

    There is no error but I didn't get any msg :(

    • @RunCodes
      @RunCodes  6 ปีที่แล้ว

      +Bristy Das check your gmail inbox or spam folder! There may be error email!

    • @bristydas9818
      @bristydas9818 6 ปีที่แล้ว

      nope nothing like that!

    • @RunCodes
      @RunCodes  6 ปีที่แล้ว

      +Bristy Das nothing is receiver in your email? what message is appeared when you run and click the send button?

  • @dhereshsoni1272
    @dhereshsoni1272 4 ปีที่แล้ว

    Please help

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

    all methods followed but not receiving any sms

    • @RunCodes
      @RunCodes  7 ปีที่แล้ว

      +Utsab Pokharel check your email inbox 😊 there may receive error😊

    • @durgapadhan6527
      @durgapadhan6527 6 ปีที่แล้ว

      Please follow this article it may help
      www.phpjavascript.com/2018/01/sms-to-send-sms-we-need-api-from-sms.html

    • @yowkaaayl3274
      @yowkaaayl3274 6 ปีที่แล้ว

      all methods followed but not receiving any sms then i'll check my email inbox but there's no recieve error? what's wrong?

  • @Shankar-dz2uw
    @Shankar-dz2uw 4 ปีที่แล้ว

    This not working

    • @RunCodes
      @RunCodes  4 ปีที่แล้ว

      must work!

  • @ryanc.valeriano5814
    @ryanc.valeriano5814 5 ปีที่แล้ว

    Nothing Happens...So sad..

  • @karansuthar6748
    @karansuthar6748 6 ปีที่แล้ว

    is it work in localhost ?

    • @RunCodes
      @RunCodes  6 ปีที่แล้ว

      i showed it from localhost! i think you write comment without watching the video!

    • @karansuthar6748
      @karansuthar6748 6 ปีที่แล้ว

      i can try it localhost and as well as online but it does not work. so i will also confirm it.

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

      @@RunCodes rude reply

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

      🤔

  • @Dangerkarkuki
    @Dangerkarkuki 7 ปีที่แล้ว

    good job❤

    • @RunCodes
      @RunCodes  7 ปีที่แล้ว

      +DaNgEr KarKuKi Thank you :)

  • @utkarshdubey8641
    @utkarshdubey8641 6 ปีที่แล้ว

    Your internet is very fast...

    • @samuelhulme8347
      @samuelhulme8347 6 ปีที่แล้ว

      Utkarsh Dubey on my iPad it is Sllllooow like dial up but when I go on my computer it is FASTT

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

    its not even free! u need to buy credits to send message thats it! its not free!

  • @AbrarNiazi-lj2dy
    @AbrarNiazi-lj2dy 3 หลายเดือนก่อน

    Jawa brather large language English United states of America USA OK THANKS and love you so much for my best friend and my followers.

  • @dipendrabudha237
    @dipendrabudha237 7 ปีที่แล้ว

    nepali tutorial banau bro

    • @RunCodes
      @RunCodes  7 ปีที่แล้ว

      +dipendra budha don't you like in english?

    • @dipendrabudha237
      @dipendrabudha237 7 ปีที่แล้ว

      ali clear vayena bro

    • @RunCodes
      @RunCodes  7 ปีที่แล้ว

      use earphone and watch video in 720p bro :)

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

      nepali herne kam hunxan ni ta channel ko potential reach ni ta herna paryoni

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

    do you like our work?
    does this tutorial help you?
    if so, you can support us at www.patreon.com/RunCodes