BlackBerry Forums Support Community

BlackBerry Forums Support Community (http://www.blackberryforums.com/)
-   Developer Forum (http://www.blackberryforums.com/developer-forum/)
-   -   Sending a SMS message programatically not showing up in outbox? (http://www.blackberryforums.com/developer-forum/157085-sending-sms-message-programatically-not-showing-up-outbox.html)

rnickel 10-29-2008 05:33 PM

Sending a SMS message programatically not showing up in outbox?
 
I'm sending an SMS message programatically, but it doesn't seem to be showing up in the outbox.

Any ideas?

Here is the code I'm using to send it:

Code:

_mc = (MessageConnection)Connector.open(_address);
Message message = _mc.newMessage(MessageConnection.TEXT_MESSAGE);
TextMessage textm = (TextMessage)message;
textm.setPayloadText(_msg);
_mc.send(textm);
_mc.close();

Thanks in advance!


All times are GMT -5. The time now is 11:16 AM.

Powered by vBulletin® Version 3.6.12
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.