i developed an application to send SMS to the Mobile through the airtel gateway in AP. I am using email@example.com or firstname.lastname@example.org and sending the message but we are not getting the message My code of javamail Transport.send() is working fine. i even sent a gmail message as 91Mobileno@airtelap.com message is sent but unable to recieve in mobile phone what might be the problem? can any one suggest me a solution to send SMS through the airtel gateway.
You said that even if you send the message from Gmail, it isn't received? Then I don't see how you can classify this problem as a Java problem. Let's try General Computing.
Joined: Dec 29, 2009
Most operators (at least in India) have disabled their email to SMS gateways - for the simple reason that they do not earn any money on SMS sent via this route. I would suggest that you verify that the Airtel gateway that you are connecting is indeed operational, and available to outsiders.
There are several paid SMS gateways available in India. You could Google for them. I have successfully used those for sending SMS to mobile from Java code.