aspose file tools*
The moose likes Java in General and the fly likes SMSing Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Java in General
Bookmark "SMSing" Watch "SMSing" New topic
Author

SMSing

Avalanche snow
Greenhorn

Joined: Oct 14, 2003
Posts: 2
i would like to make a java programme to SMS using my provider which is singtel in singaprore to another friend of my.
does anybody know and give me some ideal of how would i be doing?
VIJAY Yadlapati
Ranch Hand

Joined: Aug 04, 2003
Posts: 175
sms.setSubscriberID(id);
sms.setSubscriberPassword(password);
// Message Settings
sms.setMsgPin(phoneNo);
sms.setMsgFrom(fromName);
sms.setMsgText(messageText);
// Send Message
sms.msgSend();
// Check For Errors
if(sms.isSuccess())
{
System.out.println("Message was sent!");
}
else
{
System.out.println("Message was not sent!");
System.out.println("Error Code: " + sms.getErrorCode());
}
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: SMSing