Tuesday, April 17, 2012

Sen bulk SMS via C# using Way2Sms / 160by2 accounts and more

In the previous post we can send single sms. But now it was updated to bulk sms and sms can be repeated.

as shown in the figure. and supports all the providers shown in the image.





using SMSClassLibrary;  // namespace

// class name

ReddyInfoSoft ris = new ReddyInfoSoft();
            string res = ris.sendSMS("account id","pwd","sample SMS text","to no","provider","1");

Note :-  Please use (coma) "," to send bulk SMS

Ex: :-  9849996598,9999999999,8047845698

 1 = SMS sent
-1 = Server Error
-2 = Invalid Username
-3 = Invalid message text
-4 = Login Failed
-5 = IP Blocked
-11 – Unsupported Provider  (Since March 1 2013)

Download Bulk SMS Library