kamal krishna bhatt wrote:what i actually need to do is i need to send some SMS on the basis of some event happens ,so to access that sms gateway first needed to give login credentials then i reach to have a SMS form in which i need to fill mobile no., sms content,maximum characters etc. and submit.
what i was looking for is to get the source for that page and set the values of specific attributes (i.e. user,password etc.) and submit the html form (as can be done in python) is there any way do that in java.
Hi Kamal,
Does your SMS service provider accept SMS via email?, it is very simple if they have standard email to SMS conversion, where you send email as per their standard format and they recieve and process it as SMS request....message format should be something similiar as below....
TO :
sms@messaging.xyz.com
Subj : SMS Message for 0XXXXXX id:XXXX user:XXX password:XXXXX to:XXXXXX text:XXXXXXXXX msg_type:SMS_TEXT
You can send the above message using javax.mail.Message API
Thanks
Arun