SMS Sending via a Java Servlet | Search |
NowSMS Support Forums ⬆ NowSMS Support - SMS Issues ⬆ Archive through May 12, 2004 ⬆ |
◄ ► |
Author | Message | |||
Peter Thompson New member Username: Ee8prt Post Number: 4 Registered: 03-2004 |
Hi, I have the nowsms Gateway running succesfully and would like to use a Java Servlet to send an SMS via the Gateway. Has anyone been able to do this? I.e. when a Java Servlet is called, it can trigger the nowsms gateway to send an SMS? Thanks, Pete | |||
Bryce Norwood - NowSMS Support Board Administrator Username: Bryce Post Number: 2127 Registered: 10-2002 |
Pete, I wish I had some experience in writing Java Servlets, but I don't. If you're just sending an SMS, you should be able to use URLConnection or HTTPURLConnection, because you just need to generate an HTTP GET to send a message through NowSMS. MMS is more complicated because you have to post more content. Someone posted an example for MMS in the following thread: http://support.nowsms.com/discus/messages/485/1360.html -bn |