IMAP idle support (General questions)
Do you have any plans to support IMAP IDLE? http://en.wikipedia.org/wiki/IMAP_IDLE
Thanks,
Konstantin
Do you have any plans to support IMAP IDLE? http://en.wikipedia.org/wiki/IMAP_IDLE
Thanks,
Konstantin
by woddrazen , (5022 days ago) @ bkv
Hi,
IDLE is already supported inside wodImapServer. You can enable it if you set AllowIdling Property to True.
More help for AllowIdling Property you can find here:
http://www.weonlydo.com/ImapServer/Help/wodImapServer-AllowIdling.html
Hope I helped.
Regards,
Drazen
by bkv , (5019 days ago) @ woddrazen
Thanks for your reply.
The question is: How it is working in your implementation?
In this case IMAP server has to notify client about all changes happened in mailbox. What is your internal logic?
Brgs, Konstantin
by woddrazen , (5019 days ago) @ bkv
Konstantin,
We are using standard implementation of IDLE command from RFC2177:
http://tools.ietf.org/html/rfc2177
Is there any chance you can look at it and let us know if you find your answer there?
Let us know if you need more help.
Drazen
by bkv , (5019 days ago) @ woddrazen
How IDLE is working, that is clear.
Question is not how IMAP server working with IMAP clients.
You IMAP server is based on events. But in case of IDLE, WE have to notify client that something is changed. So, what is your IMAP server logic. How it gets information about what was changed, to transfer it to client?
E.G: There is a new message in mailbox (mailbox is in our data storage, and IMAP server doesnt know anything about it, we are just subscribed to its events). How IMAP server gets information about new message in the our data storage to transfer this information to connected IMAP client?
by woddrazen , (5019 days ago) @ bkv
Konstantin,
If you are asking what you need to do on wodImapServer side to enable IDLE then it's simple, you only need to set AllowIdling = True.
No other code you need to add. Of course mail client should support IMAP IDLE in order for it to work.
If you are interest how it works under the hood inside our component, I need to ask our developers about it.
Drazen
by bkv , (5019 days ago) @ woddrazen
Yes, I am interested in how it works under the hood inside our component. Could you pls ask developers about it.
As I am not able to see how it is possible to implement IDLE mode with existing events which IMAP Server component has.
Thanks in advanced.
by woddrazen , (5019 days ago) @ bkv
Konstantine,
Here is what I received from our developers:
IDLE command is send and response is not received from server until something happens (new mail, deletions...).
When something happens, server send response to client so client can react onto that response and procedure further.
Drazen
by bkv , (5019 days ago) @ woddrazen
Thanks for reply.
The logic of IDLE is clear.
When something happens, server send response to client so client can react onto that response and procedure further.
The question is how your IMAP server knows that something happens ?
As changes are happening in our data store, than how your IMAP server knows that something happens ?
by wodDamir , (5019 days ago) @ bkv
Konstantine,
I'm not really sure what's confusing you. However, imagine that you want to deliver a new message to client who is IDLE-ing.
You would use Add method to add message into Messages collection. wodImapServer is ofcourse well aware of that.
Regards,
Damba
Many thanks for your excellent support service. I can see why you have a long list of excellent testimonials on your website.
May I say how nice it is to work with components so complete and self-explanatory that using them in my application is as instinctive as though I wrote them myself?
Fantastic product by the way, it has helped us tremendously on a daily basis. Keep up the good work.
May I say how nice it is to work with components so complete and self-explanatory that using them in my application is as instinctive as though I wrote them myself?
Thank you for the great customer service ... I am really impressed with the wodSSH ActiveX control.
It was no small factor, however, that your support in getting me up and running made me buy from you.
Brilliant, even works on the mobile phone...
It was no small factor, however, that your support in getting me up and running made me buy from you.
...not only that you provide these components at very reasonable cost, your responsiveness to emailed technical questions is simply outstanding...
Your component works really great. With minor effort I have been able to convert my delphi application...