[E2007][EWS][C#][Windows]: Cannot delete delayed delivery emails
I am using EWS to schedule delayed delivery emails in advance for a package management system. When a package is "logged" the system creates two delayed delivery emails, one 7 days out and one 14 days out to remind the package recipient they have a package
waiting for pickup.
When the package is picked up the system is supposed to delete the scheduled emails. This is where I am having trouble.
It seems EWS does not allow you to delete a delayed delivery email - you must use a desktop Outlook client to do so. Can someone explain the logic behind this? Are there any plans for future support of deleting delayed emails through EWS?
EWS doesn't run against Outlook. It runs against the Exchange Server. Exchange Server has a copy of all the mailboxes that you see in everybody's outlook clients. When you connect to a mailbox in EWS using the discovery service, you are
connecting to the copy of the email box that sits inside the server.
To connect to just the server without connecting to a mailbox, do the following:
//connect to the exchange server by server name
ExchangeService service =
new ExchangeService(ExchangeVersion.Exchange2007_SP1);
service.Credentials =
new WebCredentials(strAccount, strPassword, strDomain);
service.Url =
new Uri("https://" + strExchangeServer +
"/ews/exchange.asmx");
The name of the exchange server is usually remote.yourEmailDomainName, however, this could have been changed by your administrator. You can usually find the name of the server by printing the service.Url of a connected
mailbox.
Once you connect to the server, all the EWS commands work on objects outside of mailboxes
Similar Messages
-
Cannot delete incoming & read emails, after one spam msg!
Hi there,
I received a marketing message 3 times that I cannot delete. In addition, ever since receiving this message, I cannot delete any of my incoming email messages now, nor move them into trash or junk. They keep coming all back. Any advice is greatly appreciated as my inbox will overflow soon.
RoseHi,
First, You should quit Mail (I'm assuming that's what you're using from what it sounds like)
Second if that doesn't help, click "Window" > "Activity" check to see if there's a process going in there and you can stop the process. -
Outlook 2010 Delayed Delivery Email not leaving Outbox
Hello,
My users are experiencing the following issue:
1. Email is created with delayed delivery at a later time.
2. User closes Outlook 2010 for the day.
3. When user reopens Outlook 2010 the next morning, the message is still sitting in the Outbox and was never sent.
The problem is this was not the case with Windows XP/Outlook 2003/Exchange 2007 in online mode. Where the user would be able to send the delayed email then shutdown his/her computer and the message would be submitted and sent from exchange.
My users are now on Windows 7/Outlook 2010 users are still on the same Exchange 2007 server. The clients are now using Exchanged cached mode.
Please let me know what the problem could be.
Thanks and regards.
DavieswI posted this on Microsoft home page as well. there is an issue with the plugins below. the stuff in gray is what led me to my solution for me below.
Disable AVG's addin - it's known to cause problems.
I have been using AVG for the past 5 years. I had the issue before I upgraded to AVG 2011. I've never had a problem until I moved to Office 2011. I don't recall if I stated using delayed delivery before I upgraded to Outlook 2010, however.
So that is what my guess was going to be.
I have not tried to disable the AVG add-in yet because it does not happen that often (that a message gets stuck in the Outbox with "none" as the delivery date).
Todd
I was having this problem as well. I did NOT have this plugin. but i got thinking about 3rd party plugins. I have the "Google calendar calender Sync" tool that syncs my outlook calendar and my Google calendar together 2 ways. As soon as i disabled this it went
through no problem. its possible that other 3rd party plugins are not allowing it to function as desired as well. i suggest disabeling all the 3rd party add-ins and and running a test. mine is now working like a champ -
Cannot delete files after emailing them
Ever since I upgraded to Snow Leopard I cannot empty the trash if there is a file that I have added as an attachment in an email if Mail is still open. It will say the file is in use and I either have to quit Mail or Secure Empty Trash. This is really annoying. Anyone know of a fix? The file shouldn't be in use once it is sent in Mail. This never happened in previous versions of OSX. Also, if I have sent a file as an attachment I cannot save over it in the originating program because it is in use.
No, this is only for Mail. As soon as I add a file as an attachment then I cannot delete it without quitting mail or secure empty the trash. It isn't a data loss deterrent because you get that message making sure you want to delete it but when I say yes then it says the file is in use.
By the way, I shut off Time Machine for a day and then tried to delete a new file that I created after Time Machine was shut off that I added as an attachment to Mail and the same problem occurs. All other files that I do not add as an attachment in Mail I can delete with no problems. -
Help I have spent countless hours and days trying to get my 3g phone to delete and send email. It will not do either. I have deleted the account and put it back on countless numbers of time. Tried every trick that is out there. Wifi on Wifi off, Stmp account on and off Sync'd to outlook and not to outlook,
I reset the entire phone, no help.
Why have this phone if I cannot get email? It just stopped working one day. Have deleted all the email from my outlook account on my laptop. I cannot delete one message from my phone. It returns like the living dead. I have been unable to send a message for weeks. In the middle of typing the screen just closes.Welcome to the discussions,
did you try to restore the phone "as new iphone" without using the backup to restore your settings? Your backup may contain corrupt files causing your problem.
After restoring to factory settings, replace the account info on your phone with the one on your PC during the next sync, using this option in the info pane, advanced section. -
Hello,
I am having trouble deleting an email saved as a draft. I have tried: editing and then delete, swiping the name of the email and delete, opening the email and using the trash can. Nothing works. As soon as I hit delete, the mailbox closes and I am sent to my home screen.
Any suggestions?
Thanks in advance,
SueOn further examination .....
.... Drafts handling in Mail is totally hosed. Failure modes described above confirmed,plus several more. I have a fairly complete picture of how and when it fails, and have passed that along to Apple already. Below are quick notes on how you can deal with it for now. Caveat the following with the fact that it's only been tested with my MobileMe accounts.
A. If Mail is working correctly and you create a draft, do not try to delete that draft if it's the only one in the list. Bad things will result from either method of deletion.
B. Drafts #2 and onwards seem to cause no problems if they are deleted, using either method. Again, this assumes that Mail was operating correctly at the time the new draft was saved and, adgain, don't delete the top one.
C. Once Drafts moding is 'killed' it can die in any number of ways and may, or may not, crash Mail. Mail will then continue to run poorly for extended periods, and typically will not successfully save new drafts.
D. The single best indication of Mail running poorly will be a continual "Getting new mail" sort of message displayed at the bottom of the sidebar. You'll also notice when trying to save a draft that you will not see the normal spinning progress wheel appear momentarily at the top of the sidebar.
There are several different ways to regain normal Mail functioning., summarized as follows:
A. Force Quit the app, holding Home down with red OFF slider visible, or
B. Force Quit the app from the Recents List, or
C. Do a Hard Reset, following reset instructions in the User's Guide.
After doing this and re-opening Mail, you may see drafts which have disappeared re-appearing in a Compose window. They can now be saved to Drafts and it will work (note spinning progress wheel at top if sidebar).
Now, don't futz about with it. Just leave the draft there, the top one for sure, and all the rest of them just to be safe. -
Cannot Delete or Move Emails from Printers - Error from emails with no body?
Exchange 2010 SP2 (one mailserver for domain)
Outlook 2010
Outlook 2013
OWA
EAS
We have several Konica-Minolta MFPs on our network. Users regularly use the e-mail function to receive PDF scans. These e-mails cannot be deleted in Outlook, OWA, or EAS.
I have tested this on multiple users, including myself. The e-mails and attachments can be any size, starting at 50kb. Other e-mails with PDF attachments behave normally--just not these.
In Outlook 2010 I receive "The item cannot be deleted. It was either moved or already deleted, or access was denied." I have verified with a MAPI viewer that these e-mails are sitting in the user's Inbox.
OWA gives the same error message as Outlook 2010.
In Outlook 2013 I receive a similar error, and an Event Log notice:
Event 300
Microsoft Outlook Unknown Error
P1: 300032
P2: 15.0.4420.1017
P3: ajr8vP4: 0x80040119
Source: Microsoft Office 15 Alerts
These e-mails cannot be deleted. They cannot be moved to another folder.
They can be Shift+Deleted. They can be deleted via the MAPI viewer. They can be opened, edited (Move > Actions > Edit Message) and if even one character is added to the body, after being saved they can be deleted as normal.
I have read many posts on TechNet and elsewhere:
A repair on the mailboxes does nothing. There are no PSTs. This happens to even an empty mailbox, so size is not an issue. There are no host headers set in the bindings. The IIS SSL Settings are ignoring Client Certificates. I have tested in Outlook
Safe Mode and without plugins. It is not Antivirus.
I have not reset the Virtual Directory, nor have I tested with a new Database.
I did find a solution: in all of the Konica-Minolta configurations, there was nothing set for a message body. I think (but I am not sure) these e-mails were being sent without a body.
After I added text for the body, the emails behaved normally.
Is this an Exchange bug? Is there something I can do to narrow the issue down, or adjust an Exchange setting so it doesn't happen again?
Thanks all!Thank you for your reply, Fiona!
As I stated, I have examined the messages with a MAPI viewer. I did not notice any attributes that seemed out of order, except for the fact that the problem e-mails seem to lack a body:
Tag
Property Name
Konica: CAN'T Delete
Konica: CAN Delete
Normal Message
0x1000000A
PR_BODY
Scan from Konica-BW
Err:Not Enough Memory
0x1013000A
PR_BODY_HTML
Err:Not Enough Memory
0x10160003
PR_NATIVE_BODY_INFO
0 (Undefined)
1 (Plaintext)
3 (HTML)
0x1009000A
PR_RTF_COMPRESSED
Err:Not Enough Memory
Err:Not Enough Memory
0x0E1F000B
PR_RTF_IN_SYNC
TRUE
TRUE
FALSE
I've compared the three e-mails. The "Konica: CAN Delete" is one from after I changed the Konica settings to include a message body (which was "Scan from Konica-BW").
My next planned steps are to speak to Konica, roll back RU6 and test, or just wait to see if MS releases a patch for the RU6 issue and see if it resolves my issue as well.
If you have any further suggestions of things to look for, I am all ears. :)
Thanks again! -
Cannot Delete Scan To Email Address on Officejet Pro 8600
I created an email address from the Officejet 8600 control panel for scan to email. I also created two other email addresses by accessing the embedded web server in the Officejet 8600. All three email addresses appear using the 8600 control panel, but the one I created from the control panel is not lised in the E-Mail Address Book when I use a browser to access the embedded web server.
How can I delete the one I entered from the control panel on the printer?Hey dutch55,
Have you tried power cycling all the devices involved to see if the email setup with the Control Panel of the printer will show up in the list under the EWS?
Unplug the router while on
Wait 30 seconds
Plug router back up and wait for it to completely power up
Restart PC
Unplug printer while on
Wait 30 seconds
Plug printer back up for power
If this still does not get the desired results, then the next best option is going to be to reset this printer to a factory state. This will remove all input data and settings you may have put in the printer. This will also remove the setup you have established for scan to email and will have to be re-setup. I wanted to let you know this beforehand, but this should get you the results you are looking for. I will send the steps to perform this reset in a private message. Before performing the steps please read Bob_Headrick's thread on printer resets, found here.
-------------How do I give Kudos? | How do I mark a post as Solved? --------------------------------------------------------
I am not an HP employee. -
Often, though not always, when I open THUNDERBIRD I'm not able to delete or move messages. I need to close the program and reopen. Similarly, when sending emails, sometimes things works smoothly and sometimes they hang up on saving to the SENT box. Apparently they DO get sent but I can't keep a copy. If I close and reopen, then it works as it should.
I'm running Windows 8.1, AVAST internet security, and Thunderbird 24.3.Jim, Hopefully one of the Thunderbird experts will be along soon (I don't use Thunderbird) but before uninstalling Avast you may want to check the [http://forum.avast.com Avast forums] to see if other Windows 8 users are reporting Thunderbird issues. I did a search there and found:
*http://forum.avast.com/index.php?topic=146209.msg1061157#msg1061157 ''Thunderbird hangs in Win 8.1 during SAVE (to Draft folder)''
I also found the following, in case it helps:
*http://kb.mozillazine.org/Antivirus_software#Compatible_antivirus_programs
*https://wiki.mozilla.org/Thunderbird:Testing:Antivirus_Related_Performance_Issues -
Suddenly i Cannot delete,forward my email ?
Have been using my "touch" with no problems but suddenly I cannot do anything with my messages. No screen comes up at the bottom to allow me to forward, delete, etc
Hi Lornahinsch,
Check if software update is available for your iPod. You can find software under your settings. Check if everything works after you successfully install the software update. -
Cannot delete messages and email accoun ts
I am a Volunteer here, not employed by HP.
You too can become an HP Expert! Details HERE!
If my post has helped you, click the Kudos Thumbs up!
If it solved your issue, Click the "Accept as Solution" button so others can benefit from the question you asked!I have exactly the same problem on a 3-week old 3GS. Started yesterday after 3 weeks of trouble free use. Have tried everything suggested in this forum but problem still exists - can't delete old email, can't read new e-mail, resorts back to main screen after about 10 seconds showing all mail still there (even if I do manage to delete a couple before it crashes) and no "Sent" or "Trash" boxes anymore.
I too have the new 3.1 software AND was OK until I had MailDaemon return an incorrectly addressed e-mail!
Off to Apple Store today to seek help from a "Genius"...........watch this space................ -
Cannot delete a specific email message.
from an IMAP exchange account. It will delete initially and then re-appear. The message is from the account to the account. I have synched the account several times. There is no content to the message.
Now that message has been replaced with a new one from Feb. that will not delete. Can anyone help!?!
-
Not able to delete a delivery after revenue recognition is reversed
Hello Gurus,
We have a situation for certain Sales Order types after creation of Sales Order -> Delivery and PGI, we do revenue recognition. But there was some mistake and delivery needed to be deleted and recreated if needed. So after doing revenue recognition reversal we are reversing the PGI. After this when we try to delete the Delivery ( which would have got deleted if there was no revenue recognition process ) we get the below error.
Is it a problem with the way Revenue recognition is configured or does the standard behave like this. If the Invoice is also present in the above I am able to cancel the Invoice. If you think its a problem with the way Revenue reccognition is configured please advise.
Item 000010 cannot be deleted (revenue recognition status)
Message no. VL896
Diagnosis
The delivery or delivery item cannot be deleted.
System response
The document cannot be deleted since the delivery contains items that
reference sales document items that are relevant for revenue
recognition. When the goods issue was posted, the system created revenue
lines that had already been recognized. This means that there are
subsequent documents in revenue recognition for this delivery.
Procedure
If you no longer require the delivery or delivery item for deletion, set
the delivery quantities to zero and repost the goods issue. Make sure
that the quantity zero is allowed in Customizing for the delivery item
category. When the goods issue is posted, the overall processing status
is set to C and the delivery can be archived. Message determination
should be configured not to send any messages in this case. To make sure
that the system makes revenue corrections if there are differences
vbetween billed and recognized values, set a billing-relevant rejection
reason in the sales document item if more than one partial delivery is
allowed.
If you still want to use the delivery, adjust the delivery quantities
accordingly. Alternatively, deliver the referencing sales document item
again. Note that the sales document item cannot be delivered again if
only a partial delivery is allowed.
What are the changes I can do to Delete the Delivery?
If I cannot Delete the Delivery, Should I make the Delivery as 0 qty and create a new delivery with changed qty and do further process. Or should I reject the Sales Order and create a new sales order with exact qty and do further process.
Please advise.
Regards,
SNK.
Delivery has one line item. For the above case scenario, invoice is there for some deliveries and for some deliveries there is no invoice. Eg: SO -> DN -> PGI -> Rev Recog -> Iv or SO -> DN -> PGI -> Rev Recog. Requirement was SO was wrongly created as the qty was wrong or in some cases SO needs to be rejected. I am able to cancel Invoice. Rev recog is reversed. PGI is cancelled by VL09. Not able to delete Delivery and I get the above error. Ideally I thought since Rev recog is reversed, Delivery should have been deleted but not happening and above error comes.
SO - Sales Order DN - Delivery IV - Invoice
Edited by: sapconsultnt on Dec 16, 2009 5:06 AMHello,
Please review the Note 1224871 which introduced this functionality.
Regards,
Raghavendra YN -
Delete inbound delivery against PO after goods recipt
Hi Gurus,
I have a question regarding the link of Purchase Order and Inbound delivery status indicator.
This is my scenario. I had created a purhase order with qty 10, I have received GR using MIGo for 4 qty.
After one month I have created inbound delivery for the reaining qty 6 against the same PO.
When I am trying to delete this delivery document system throughing the error message "cannot delete inbound delivery as the status of the document is partially completed".
why system linked the delivery document with previuos goods reciept?
how can I delete the inbound delivery?
please suggest
Thanks.
SreeramSreeram,
From the PO, get the confirmation control key value from confirmation tab and go to SE16 on table T163G with this value. My guess is field WEREL for confirmation category LA has a value of "X". If this is the case, that explains the behavior as you described in your posting. When the inbound delivery is created, the program will update the quantity reduced field in the confirmation tab of PO by GR quantity (4 in your example). With this update, you can no longer delete the inbound delivery.
So to delete the inbound delivery, you will need to cancel the GR. Once the GR is cancelled, you should be able to delete the inbound delivery. Once the inbound delivery is deleted, you can re-post the GR so you stock data can be restored to its original value.
Revi -
Hi I have a user who sets up delayed emails that are not going out. A few weeks ago she was having problems with her Outlook. The profile because corrupt and I had to create a new profile for her. While creating the new profile I forgot to backup
the delayed delivery emails. So I took the old ost files and loaded it on a laptop backed up the delayed delivery into a PST file. Took the pst file loaded it into Outlook on her computer. The files imported but Outlook has not sent any of the emails.
We are using exchange 2008 also.Hi,
What's the version of your Outlook client? It's an Outlook function, please try to recreate the message and set the delay delivery options again, then check result:
http://office.microsoft.com/en-us/outlook-help/delay-or-schedule-sending-email-messages-HA102748953.aspx
Also, to my knowledge, we don't have a 2008 version of Exchage server.
Regards,
Ethan Hua
TechNet Community Support
It's recommended to download and install
Configuration Analyzer Tool (OffCAT), which is developed by Microsoft Support teams. Once the tool is installed, you can run it at any time to scan for hundreds of known issues in Office
programs.
Maybe you are looking for
-
Early 2008 MBP w/ NVIDIA GeForce 8600M GT graphics processor fail
My beautiful Macbook Pro 17" (early 2008) just started getting stripes on the screen and randomly shutting down; research and a call to a local Mac repair person say this is the known problem with the NVIDIA GeForce 8600M GT graphics processor. What
-
I recently changed my apple ID but my previous apple ID is associated with my icloud account. I'm setting up my new iphone 6 and cannot complete the set up until I can sync my icloud account. Does anyone know how to change the icloud id?
-
Why do i have a message that im unprotected from online attack
i got a message that my version of fire fox was no longer protected from online attacks I upgraded to 3.6 but the urgent warning remains why is this? Is this a correct message?
-
Avoid popup dialog in smartforms
hi all, i'm facing a problem, i want to avoid popup dialog in smartforms. i have set structure SSFCTRLOP-no_dialog = 'X'. but it still show popup dialog. did i miss something?
-
How do i know where tracfic is on maps?
I travel a lot and have been using the map feature on the phone a LOT and was wondering how to tell where traffic is on the road.i think the little car at the bottom of the screen is for this feature but i dont know what to do next! Also, is there a