• 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

guidance needed for java code - send SMS to phone

 
Ranch Hand
Posts: 69
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I want to make a java desktop app (preferably without GUI) which will send a SMS to a mobile. Can someone guide me how to do this ?
Alternatively, if the sms feature is too complex to implement, I would like to make the app send an e-mail to the phone instead of sending a sms.

Thanks.
 
Saloon Keeper
Posts: 7585
176
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Some mobile networks provide an email address for each cell phone to which you can send text, and it will be forwarded as an SMS. Not all do, though, and it may not be available for the particular number you wish to reach. You'd also need to know which mobile network the number is on, because the email address differs for each provider.

For a general solution, you'd need to sign up with a service that does this (which would of course charge a fee for this). Searching for "sending bulk sms" or some such phrase will find such companies.

Sending email in Java is done via the JavaMail API; you'll find many threads in these forums talking about that if you use the site search.
 
Raghavendra Shockley
Ranch Hand
Posts: 69
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Tim Moores wrote:
For a general solution, you'd need to sign up with a service that does this (which would of course charge a fee for this). Searching for "sending bulk sms" or some such phrase will find such companies.



Thanks for the tips ! I do not want to send bulk sms. I want a pay-per-use provider, if free is not available. Do you know any such services ?
 
Tim Moores
Saloon Keeper
Posts: 7585
176
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
The bulk SMS providers probably offer such plans as well.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic