SMS sending through free gateway

后端 未结 3 1437
我寻月下人不归
我寻月下人不归 2021-02-01 10:47

Please guide me with sample code for sending sms through website. How to include sms gateway. Please tell me, can i use way2sms.com as gateway?

is it the right way to us

相关标签:
3条回答
  • 2021-02-01 11:01

    It seems fine, except one line change this

    if($result=='true')
    to
    if($result == true)
    
    0 讨论(0)
  • 2021-02-01 11:21

    Yeah, or you could use the gateways as provided by the wireless carriers themselves, as then it's as simple as sending them an email with PHP's mail function.

    Where (Number) is, you must include their 10 digit phone number. So that means that you must include their area code.

    AT&T (Number)@txt.att.net

    T-Mobile (Number)@tmomail.net

    Sprint (Number)@messaging.sprintpcs.com

    Verizon (Number)@vtext.com OR (Number)@vzwpix.com

    0 讨论(0)
  • 2021-02-01 11:23

    THE Code you are using is totally outdated. Way2sms change their way of authentication. If you want to use new code then here is solution : http://ritesh-chandora.blogspot.in/2012/02/php-code-for-sending-free-sms.html this blog will provide new way of sending sms easily.

    0 讨论(0)
提交回复
热议问题