Thanks for your reply.

But i'm not using msg = new OutboundMessage("+306948494037", "Hello
from SMSLib!");
srv.sendMessage(msg);

Instead i'm using msglist like as follows

srv.sendMessages(msgList,gateway.getGatewayId());

So for the below code, how can i add this line..."
msg.setStatusReport(true);"

My code is

 SyService srv;
        OutboundNotification outboundNotification = new
OutboundNotification();
        srv = new SyService();
        MessageMediaGateway gateway = new MessageMediaGateway("revvm",
"SymbiounMobil003", "Password");
        gateway.setAttributes(1);
        gateway.setOutbound(true);

        srv.addGateway(gateway);

        srv.setOutboundMessageNotification(outboundNotification);
        srv.startService();

        logger.info("***************** Sending the message list to the
SMS Gateway ************* " + gateway.getGatewayId());
        int isSent = srv.sendMessages(msgList,gateway.getGatewayId());
        logger.info("***************** After getting the response from
Gateway ************* " + isSent);
        srv.stopService();
        if (isSent == 1) {
            return true;
        } else {
            return false;
        }

Awaiting for your reply,
Thank you.



On Jul 2, 9:57 am, Thanasis <[email protected]> wrote:
> You must enable Delivery Reports for each message you send out and process
> the receipts.http://smslib.org/doc/smslib/delivery-reports/
>
> On 1 July 2010 09:51, Senthilnath <[email protected]> wrote:
>
> > I'm new to this group and SMSLib.  I'm using in Java Web application.
> > How to handle bounce sms for the particular mobile number or phone
> > number using SMSLib.
> > Can anyone tell me..
> > if possible mail me to
> > [email protected]
>
> > --
> > You received this message because you are subscribed to the Google Groups
> > "SMSLib User Group" group.
> > To post to this group, send email to [email protected].
> > To unsubscribe from this group, send email to
> > [email protected]<smslib%[email protected]>
> > .
> > For more options, visit this group at
> >http://groups.google.com/group/smslib?hl=en.

-- 
You received this message because you are subscribed to the Google Groups 
"SMSLib 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