-
Notifications
You must be signed in to change notification settings - Fork 63
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
STORE command returning unexpected status using Exchange #11
Comments
The server is telling you that the STORE command cannot be executed in the current connection state. I can't tell you why that is. Maybe one of the preceding commands failed or maybe the mailbox isn't selected with read-write access. Enable raw logging, as in the demo, to see exactly what is being sent and received. |
Maxim, Thanks for the reply. You were exactly right to suggest I didn’t have the mailbox open with read-write access. Such a stupid mistake. I do have a different problem and if you are willing to take a quick look, I would appreciate it. I have gotten intermittent connection errors, coming on the imap.DialTLS call. I've been trying to get our MS Exchange support team to look up the logs to see what is going on. Here is the transaction/message (I didn't have the raw logging turned on in this case and cannot regenerate the error now): Connected to 10.128.208.35:993 (Tag=FDMIL) Thanks. Kevin Buchs Cloud Planning Services Phone: 507-538-5459 From: Maxim Khitrov [mailto:notifications@github.com] The server is telling you that the STORE command cannot be executed in the current connection state. I can't tell you why that is. Maybe one of the preceding commands failed or maybe the mailbox isn't selected with read-write access. Enable raw logging, as in the demo, to see exactly what is being sent and received. — |
Hard to say without raw logging. If it's intermittent, perhaps your server has connection rate limit enabled: https://technet.microsoft.com/en-us/library/bb123712%28v=exchg.150%29.aspx |
I'm trying to get store of \Deleted flag working with Microsoft Exchange. I've adopted the code from demo1, I get back logging like this:
I've tried browsing the source code and I'm not getting very far with that.
The text was updated successfully, but these errors were encountered: