I have a java library you can use: https://github.com/garthpatil/kannel-java
The sendsms functionality is here: https://github.com/garthpatil/kannel-java/tree/master/sms You can use it like this: // Make an SMS Sms sms = new Sms(); sms.setUsername("username"); sms.setPassword("password"); sms.setTo("4155551212"); sms.setFrom("54321"); sms.setText("Hello world!"); // Using the HTTP GET interface SmsSender s = new HttpSmsSender(new URL("http://localhost:13013/cgi-bin/sendsms")); SendStatus status = s.send(sms); System.out.println(status.toString()); On Tue, May 31, 2011 at 9:34 PM, mathiyalakan mathi <[email protected]> wrote: > hi this is my dlr-url how to call the sendsms function in java? how to pass > the parameter to this. > # SEND-SMS USERS > group = sendsms-user > username = ****** > password = ****** > dlr-url = > "http://192.168.172.212:8080/AmritaSMSHiber/SendMobileQuiz?source=%p&destination=%P&status=%d&service=%A&smsc=%i&ts=%t > concatenation = true > max-messages = 10 > -- > Regards > P.Mathiyalakan > Amrita School of Engineering, > Amrita Vishwa Vidyapeetham, > Ettimadai,Coimbatore - 641 105. > [email protected] > mathiyalakan.webs.com > 09626969304(TN) > 08129231992(kerala) > >
