Hi, When you set source/dest posts, messages may not be delivered in the normal message "inbox". These settings are used to deliver messages to midlets, etc.
Is there any reason to use specific ports? On Tue, May 5, 2015 at 5:40 PM, Arthanarisamy Annamalai via SMSLib Discussion Group < smslib+apn2wqcg4e-17am-qh1ncs1icgho6i6wnppelf9qhatf-is_1mmdkz...@googlegroups.com > wrote: > Hi, > > Using SMSLib 3.5.4 i am able to receive and send messages to the device. > > But the message is not reaching the device when both source and > destination port is set to the outbound message. whereas when i do not set > any source and destination port it works fine i.e the message is reaches > the device. > > Code used is below > > OutboundMessage lmsg = new OutboundMessage(no, messageTxt); > lmsg.setSrcPort(50000); > lmsg.setDstPort(50000); > Service.getInstance().sendMessage(lmsg); > > No exception being thrown. > > > Thanks in advance. > > -- > You received this message because you are subscribed to the Google Groups > "SMSLib Discussion Group" group. > To view this discussion on the web visit > https://groups.google.com/d/msgid/smslib/ef7fb84c-8827-4acc-b690-54c9346a9f8d%40googlegroups.com > <https://groups.google.com/d/msgid/smslib/ef7fb84c-8827-4acc-b690-54c9346a9f8d%40googlegroups.com?utm_medium=email&utm_source=footer> > . > -- You received this message because you are subscribed to the Google Groups "SMSLib Discussion Group" group. To view this discussion on the web visit https://groups.google.com/d/msgid/smslib/CALHRsHsH7wLT3vJEQOn9xEMJRDvjWnb-mKjz_CRi9aw4w4QLGg%40mail.gmail.com.
