Advertisement
Guest User

Untitled

a guest
Apr 20th, 2014
44
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.81 KB | None | 0 0
  1. //for a **single contact number** i am sending sms like this:
  2.  
  3.  
  4. <%
  5. String message=request.getParameter("message");
  6. String sender=request.getParameter("sender");
  7. String contactNo=request.getParameter("contactno");
  8. request.sendRedirect("URL?usr=<xxxx>&pwd=<XXXX>&ph=contactno&sndr=sender&text=
  9. message");
  10.  
  11. %>
  12.  
  13. // now, i want to send sms to multile contact numbers with minimum time gap
  14. // and store delivery status of all these messages.
  15.  
  16. <%
  17. String message=request.getParameter("message");
  18. String sender=request.getParameter("sender");
  19. String contactNo=request.getParameter("contactno");
  20. String contactlist[]=contactNo.split(",");
  21. // now i have an array of contact numbers.
  22. // now i want to send message to all these contact numbers.
  23. // any suggestion..
  24. %>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement