Code Monkey home page Code Monkey logo

Comments (3)

TheFigmo avatar TheFigmo commented on July 20, 2024

FOLLOWUP: Found my problem. S22.Imap automatically puts the server into IDLE mode whenever you create the NewMessage event. But if you do anything else with the client (e.g. check mailbox, etc) then it automatically exits IDLE mode to communicate with the server (makes sense).

I was using the code from the documentation .... BUT....I had also added a check for mailbox stats after creating the event. That was taking the server out of IDLE mode.

FYI for anybody else making this mistake.

from s22.imap.

baquilla avatar baquilla commented on July 20, 2024

All Methods have the pair of calls PauseIdling()-ResumeIdling() with nesting support, so on other requests can stop idling for a while and then resume. However GetMailboxInfo() is the only one that do not have ResumeIdling() call. This is a mistake o there is a reason?

Nevertheless If you do a request with nested calls should be better to call pause before all request and then resume.

from s22.imap.

smiley22 avatar smiley22 commented on July 20, 2024

You're absolutely right, there should be another call to ResumeIdling() in
GetMailboxInfo. Thanks for the heads up, will submit a fix tomorrow! :-)

On Tue, Feb 19, 2013 at 4:01 AM, baquilla [email protected] wrote:

All Methods have the pair of calls PauseIdling()-ResumeIdling() with
nesting support, so on other requests can stop idling for a while and then
resume. However GetMailboxInfo() is the only one that do not have
ResumeIdling() call. This is a mistake o there is a reason?

Nevertheless If you do a request with nested calls should be better to
call pause before all request and then resume.


Reply to this email directly or view it on GitHubhttps://github.com//issues/30#issuecomment-13754526.

from s22.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.