Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

SMS in Java

 
Bhaskar Selvaraju
Greenhorn
Posts: 29
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Folks,
I am working on a web based project where i am required to send SMS to users programmatically, can anyone help me on how to go about it ??? Like any resource on the net that will help me, is J2ME useful in this regard ??? It is very urgent so any help will be much appreciated.
Bhaskar
 
Manoj Pandey
Ranch Hand
Posts: 36
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Haaiii,
This should be simple man! Have you tried sms to urself from email , it goes something like this ,
int the address type for eg 98113655..@essarcellphone.com ,
and then type the body. This will go as SMS. All you have to do is use ur regular Java SMTP, No J2ME , thats I guess is very different thing, you know 2500 rs phones which most of indians use dont support J2ME. Try it.
Manoj
 
Eric Giguere
Ranch Hand
Posts: 170
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
SMS really has nothing to do with J2ME. SMS is a way of sending messages (and other data) directly to a cellphone. How you do this depends on the carrier, but they often expose an email gateway that takes incoming email messages and converts them to SMS messages. So if the carrier(s) you're using support(s) this, you can just use the SMTP transport part of JavaMail (a standard part of J2EE now, but still available separately) to send the message off.
The other alternative is to use a service like MobileSys to talk directly to the carrier's SMS Centre. But that's probably more than you want to do.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic