• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

how to send free sms from servlet to mobile

 
Greenhorn
Posts: 13
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
hi friends

I am not getting how to send the sms from servlet to mobile which technology should i use wheather javamail, j2me .......


i am new to this field i am not getting how to do it pl pl pl pl pl help me its urgent

thanks in advance
 
Ranch Hand
Posts: 114
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
There is no J2ME involved in your case! J2ME is a client side technology for creating applications that reside on mobiles. But, as you have stated you want to send SMS from servlet(s). You are better off with server technology as Servlets.

I haven't created such service but let me give you few pointers:

1. You require an SMS Gateway, which acts as an interface between the "Internet-world" and the "Mobile-netword".

2. Try to findout the providers for such service.

3. Find out how the messages should be forwarded to use their service?

4. I guess they will provide their own API classes to use the same.

Hope more information will be posted by others....

Cheers!!
 
Rancher
Posts: 43081
77
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
The last entry in the http://faq.javaranch.com/java/JavaIoFaq has a few relevant links. Signing up with a provider will cost you money.
 
Rancher
Posts: 4803
7
Mac OS X VI Editor Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
For low volumes, there are email to SMS gateways for nearly all the carriers (in the US). You can just send an email to an appropriate address. It varies by carrier. You just address it to something like

2025551212@mobile.att.net

Google will tell you the current gateways, I haven't looked for them in a couple of years.

You can send the email with the standard Java email API
 
Ulf Dittmer
Rancher
Posts: 43081
77
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Even if the cell phone provider supports an email-to-SMS gateway in general (not all do), any given number may or may not have this enabled, depending on the plan being used; so you can't rely on it.
 
Pat Farrell
Rancher
Posts: 4803
7
Mac OS X VI Editor Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Originally posted by Ulf Dittmer: you can't rely on it.


I've never had it fail, but that probably doesn't mean anything.

I have heard of folks buying a cell phone and a USB cable, getting the unlimited message plan, and putting the cell phone in their data center. Its cheaper than any real SMS gateway
 
reply
    Bookmark Topic Watch Topic
  • New Topic