message status

===============================================================================
<< OutboundMessage >>
-------------------------------------------------------------------------------
 Gateway Id: modem.com7
 Encoding: UCS2 (Unicode)
 Date: Tue Oct 20 10:07:45 EEST 2009
 SMSC Ref No: 0
 Recipient: +3.......................
 Dispatch Date: Tue Oct 20 10:08:01 EEST 2009
 Message Status: SENT
 Validity Period (Hours): -1
 Status Report: false
 Source / Destination Ports: -1 / -1
 Flash SMS: false
 Text: hello from smslib
 PDU data: 043F04400438043204350442
===============================================================================


On 20 окт, 09:58, Andrey <[email protected]> wrote:
> I connected sony-ericsson p990i phone and setup delivery report.
> When I send sms from a telephone - a report comes.
> When send sms from the program - a report is not present.
> What is wrong?
>
> msg = new OutboundMessage( "+3123456789", "hello from smslib" ) ;
> msg.setEncoding( MessageEncodings.ENCUCS2 ) ;
> msg.setStatusReport(true) ;
> srv.sendMessage(msg) ;
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"SMSLib for Java User Group" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/smslib?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to