aspose file tools*
The moose likes Java Micro Edition and the fly likes How to send sms  pc to cellphones using java program Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Mobile » Java Micro Edition
Bookmark "How to send sms  pc to cellphones using java program" Watch "How to send sms  pc to cellphones using java program" New topic
Author

How to send sms pc to cellphones using java program

pradeep singh
Ranch Hand

Joined: Oct 23, 2007
Posts: 339
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 ]

SCJP 5.0(75%), SCWCD 5.0(88%)
Martijn Verburg
author
Bartender

Joined: Jun 24, 2003
Posts: 3274
    
    5

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.


Cheers, Martijn - Blog,
Twitter, PCGen, Ikasan, My The Well-Grounded Java Developer book!,
My start-up.
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 42292
    
  64
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 ]

Ping & DNS - my free Android networking tools app
Martijn Verburg
author
Bartender

Joined: Jun 24, 2003
Posts: 3274
    
    5

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

Joined: Jun 25, 2001
Posts: 16145
    
  21

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.


Customer surveys are for companies who didn't pay proper attention to begin with.
 
Consider Paul's rocket mass heater.
 
subject: How to send sms pc to cellphones using java program