Hello,
I want when the user send any message that will directly store in database and then hit the gateway.
for that reason I need to refresh the database.
and from database it will send the message in queue manner.
If the send sms is successful then it will store in another table.
if unsuccessful it will send a message to the sender that your message was not sent.
Thank You
Ipsita Mishra
Loading
Ipsita MishraPosted Dec 4, 2014, 2:43 AM
Vikram AgrawalPosted Dec 4, 2014, 1:01 AM
Step 1-
// Code for storing the message details into your databasetable
Step 2-
// Code for sending that message and take the response whether it sent or not
Step 3-
//if(message_sendSuccessfull)
{
// code for storing it into SentSuccessTable
}
else
{
// code for inform user that your message has not been sent
}
Ipsita MishraPosted Dec 4, 2014, 12:18 AM
Vikram AgrawalPosted Dec 4, 2014, 12:04 AM
please clarify one thing that when do you want to send message from your database?