Comments (3)
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.
from go-imap.
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)
S: (WSARecv tcp 172.24.108.71:5386: An existing connection was forcibly closed by the remote host.)
Close reason: protocol error
Connection closing (flush=false)
Greeting error: WSARecv tcp 172.24.108.71:5386: An existing connection was forcibly closed by the remote host.
panic: WSARecv tcp 172.24.108.71:5386: An existing connection was forcibly closed by the remote host.
Thanks.
Kevin Buchs Cloud Planning Services Phone: 507-538-5459
Mayo Clinic 200 1st. St SW Rochester, MN 55905 http://mayoclinic.org
From: Maxim Khitrov [mailto:[email protected]]
Sent: Thursday, July 16, 2015 8:10 PM
To: mxk/go-imap
Cc: Buchs, Kevin J., M.S.
Subject: Re: [go-imap] STORE command returning unexpected status using Exchange (#11)
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.
—
Reply to this email directly or view it on GitHubhttps://github.com//issues/11#issuecomment-122141753.
from go-imap.
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
from go-imap.
Related Issues (20)
- demo of setting /Deleted flag would be helpful HOT 2
- Login: panic: unhandled untagged response BYE HOT 2
- Support thirdparty logger through interface
- IDLE can't be interrupted using idleTerm() HOT 19
- BODYSTRUCTURE HOT 1
- Can't delete Message via UID HOT 2
- Exclusive client access violation when Idling imap client
- Debugging idea: log progress of a data transfer
- How to authenticate with this capabilities?
- How do you set mailbox flags HOT 2
- Allow for custom handlers in client HOT 1
- read: connection reset by peer
- where are the mails stored? eg with the APPEND command
- How to fetch only Unreaded email ?
- doesn't properly parse from address on *nix machines where email is from user (ie: (root))
- Repo renaming HOT 2
- Need some example code HOT 5
- Enable Sourcegraph HOT 1
- Should support SEARCH response with trailing whitespace? HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from go-imap.