Skip to content
Advertisement

SMS sending through free gateway

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 use? please suggest me only this much of code works?

JavaScript

here is my class.curl.php

JavaScript

in the place of username and password, which username and password i should use?

Advertisement

Answer

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

User contributions licensed under: CC BY-SA
4 People found this is helpful
Advertisement