In my app I want to keep track on sms sending. In case of sms does not sent due to network failure(No signal).
I managed to put sms in outbox :
private void putoutbox(String addr,String msg) {
// TODO Auto-generated method stub
ContentValues values = new ContentValues();
values.put("address", addr);
values.put("body", msg);
getContentResolver().insert(Uri.parse("content://sms/Outbox"), values);
}
sms is being shown in default message folder with status sending but sms never sent I also tried
content://sms/failed
and it also does not send sms. Please tell me what I am missing.
When you compose and send an email, Outlook updates the email’s status and places the email in your outbox. If you open that email while it is being sent, then outlook may change the status of that email but leave it in your outbox. The simplest fix to try when a mail has been left in your outbox unsent is to try to resend the email manually.
Check the send options in your Outlook. Make sure the send options in your Microsoft Outlook are correct by following the steps given below: Open Outlook. Click the “Tools” tab. Select the “Mail Setup” tab or the “Send” tab depending on your version of Microsoft Outlook. Ensure that the “Send Immediately” option is checked.
If your email is stuck in the Outbox, then you can open it, and move it to the Drafts instead. You can check the email’s attachment, configuration settings, and sender’s ID, and try to resend the email via Outlook. Where do Saved Outlook Messages Go?
When this problem occurs, the message remains in your Outbox folder until you manually initiate a Send/Receive operation (for example, press F9 or select send or receive). This problem can occur if the Send immediately when connected option is not enabled, as shown in the following figure from Outlook 2016.
Thank you all for helping me
as st0le gives a very useful link here one must have to provide all seven attribute unfortunately i can not show the code for that,but it will work if you restart your phone
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With