aspose file tools*
The moose likes Java in General and the fly likes guidance needed for java code - send SMS to phone Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Java in General
Bookmark "guidance needed for java code - send SMS to phone" Watch "guidance needed for java code - send SMS to phone" New topic
Author

guidance needed for java code - send SMS to phone

Raghavendra Shockley
Ranch Hand

Joined: Jan 21, 2012
Posts: 69
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.


Back to square one.
Tim Moores
Rancher

Joined: Sep 21, 2011
Posts: 2408
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

Joined: Jan 21, 2012
Posts: 69
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
Rancher

Joined: Sep 21, 2011
Posts: 2408
The bulk SMS providers probably offer such plans as well.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: guidance needed for java code - send SMS to phone