• 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
  • Tim Cooke
  • Liutauras Vilda
  • Jeanne Boyarsky
  • paul wheaton
Sheriffs:
  • Ron McLeod
  • Devaka Cooray
  • Henry Wong
Saloon Keepers:
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
  • Tim Moores
  • Mikalai Zaikin
Bartenders:
  • Frits Walraven

How to send sms pc to cellphones using java program

 
Ranch Hand
Posts: 339
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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 ]
 
author
Posts: 3285
13
Mac OS X Eclipse IDE Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
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 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
Posts: 3285
13
Mac OS X Eclipse IDE Java
  • 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:

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
 
Saloon Keeper
Posts: 28327
210
Android Eclipse IDE Tomcat Server Redhat Java Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Water! People swim in water! Even tiny ads swim in water:
Gift giving made easy with the permaculture playing cards
https://coderanch.com/t/777758/Gift-giving-easy-permaculture-playing
reply
    Bookmark Topic Watch Topic
  • New Topic