aspose file tools*
The moose likes Java in General and the fly likes Sending SMS Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "Sending SMS" Watch "Sending SMS" New topic
Author

Sending SMS

Prash Singh
Ranch Hand

Joined: Aug 23, 2009
Posts: 103

Dear All,

I am sorry if i have chosen a wrong place to post this question.

But I want to know to send a sms from a web page (jsp),which API will
be used, and how it'll be used.?

A simple example will do good.

Thanks.
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 42289
    
  64
(Moved to a different forum, as the question has nothing to do with JSP.)

The JavaIoFaq points to some resources regarding sending SMS from Java code.


Ping & DNS - my free Android networking tools app
Mustafa Musaji
Ranch Hand

Joined: May 03, 2008
Posts: 52
There are quite a few different SMS providers which have Java API's for you to use. I guess price etc will depend on which country you are using them from. If you Google the search I'm sure you will find plenty of examples as each provider can be different. One example is a company called TextAnywhere.


SCJP 5.0 - Passed
Prash Singh
Ranch Hand

Joined: Aug 23, 2009
Posts: 103

Thanks for your prompt reply.

But what exactly a sms geteway do.
I am a student from India.
Please guide me.

thanks
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 42289
    
  64
SMS gateway
Mustafa Musaji
Ranch Hand

Joined: May 03, 2008
Posts: 52
I'm not quite sure I understand your question.

If you are asking how they work I'm afraid I don't know enough to answer that in detail.

But they basically allow you to send SMS messages just like you would through your mobile phone to another number.

If you are asking why they are used I guess there a million reasons for their use. If you have a critical threshold on a system instead of writing to a log file you raise an alert that sends the SMS to a number of admins who can prevent something from getting worse or you can have a website that takes in a customers number and texts them to keep them updated on their order etc.

http://ws.textanywhere.net/web/Home/ lets you sign up for free and give you 20 msgs for free. Just give it a try.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Sending SMS