• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to send sms pc to cellphones using java program

 
pradeep singh
Ranch Hand
Posts: 339
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi
I am working on a project which send mails and sms to customers more than 500 using java application.I have used JavaMail api for sending mails and it works fine.But i dont know how to send sms and which api i have to use.Could anybody tell me about it using java?
Please guide me.
[ September 02, 2008: Message edited by: pradeep singh ]
 
Martijn Verburg
author
Bartender
Posts: 3275
5
Eclipse IDE Java Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Javamail can actually send SMS via the 'email' address of the SMS recipient (this is something that many SMS providers support), so I would check to see if the providers that you are sending to support that option in the first instance.
 
Ulf Dittmer
Rancher
Posts: 42968
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The http://faq.javaranch.com/java/JavaIoFaq points to a couple of libraries for this. You'll also need to sign up with a provider that can carry SMS.

Javamail can actually send SMS via the 'email' address of the SMS recipient (this is something that many SMS providers support), so I would check to see if the providers that you are sending to support that option in the first instance.

Even if the cell phone provider supports it in general, any given number may or may not have this enabled (depending on the plan being used), so you can't rely on it.
[ September 02, 2008: Message edited by: Ulf Dittmer ]
 
Martijn Verburg
author
Bartender
Posts: 3275
5
Eclipse IDE Java Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Ulf Dittmer:

Even if the cell phone provider supports it in general, any given number may or may not have this enabled (depending on the plan being used), so you can't rely on it.

[ September 02, 2008: Message edited by: Ulf Dittmer ][/QB]


Fair call and a good one for me to remember
 
Tim Holloway
Saloon Keeper
Pie
Posts: 18282
56
Android Eclipse IDE Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
There are portal services who for a fee will send out SMS's. Although I'm not sure how they handle number portability. Most carriers have a special email address you can SMS through, but there's no standard to the format, and you'd have to know which carrier a given person was currently signed on with to build the address.

Just as well. It probably limits SMS spam. And SMS spam, like telemarketing, has an infuriating level of intrusiveness. Only worse, since if it every really caught on, people's phones would be lighting up like pinball machines until they finally threw the whole unit away in disgust.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic