Giter Club home page Giter Club logo

Comments (3)

mxk avatar mxk commented on July 20, 2024

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.

buchs-kevin avatar buchs-kevin commented on July 20, 2024

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.

mxk avatar mxk commented on July 20, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.