Is there a way to send SMS in java?
Asked
Active
Viewed 220 times
-4
-
Use Twilio/etc if you need to go across service providers. It also matters what country you're in. Either way, this is off-topic and/or too broad. – Dave Newton Feb 13 '14 at 19:08
-
Have you done any research? – Ben Pearson Feb 13 '14 at 19:08
-
@Dave, I'am in India.@Ben not exactly..I'am new in developing, had done the basic programs and software using awt and swings.My faculty bet me to built and software to send an SMS to a mobile..Need your help :( – Harsh Feb 13 '14 at 19:10
-
This questions has been asked many times. Simply searching google for "java send sms" produces a wealth of results. – SergeyB Feb 13 '14 at 19:24
1 Answers
-1
You can just send email to the SMS gate way,
See here: http://newtech.about.com/od/mobile/a/Sms-Gateway-From-Email-To-Sms-Text-Message.htm
Let's say you are using att, the number is 1234567890, so you can send email to 1234567890@txt.att.net
Sending email is really simple using javamail.

John Ding
- 1,350
- 11
- 20