yes i know that is server response and IMAP allow multiple login and can synchronize as well but side by side i have another free library which i was used for same my custom client and i was doing same thing i explain before and i don't get this type of server exception that is why i have to ask you.
And my custom client going to implement like 2 client on different machine and with same login so if your library dont allow me to do that then it may be problematic to me .
Help me if you can cause i want to use your library,it is good one.
hi Ivar now i have something to show you what i told to you that lumisoft lib lock something with client that is folder ..what i have done is i run two client on same machine or different machine doent matter but when i run it at same time with same account i got exception that is
"NO UID FETCH could not lock folder (error 33)"--it seem that may library lock folder and another couldnt access that folder i think so ,however it comes from Fetch(), please look at this and tell me what i have to modify in library .
here i got another exception from selectfolder " SELECT folder INBOX is locked by another connection" from selectFolder()
and this is from particular in response object and this object generally contains responses from IMAP server right? so may be my IMAP server locked folder or you can say IMAP configured like that i can not allow multiple connection is it what i understand ? ...
ok.. we may configure also IMAP server to allow only 1 connection at a time ?is it so?
ok thanks i hope this is only problem cause without allowing multiple connection to server my application not worth it because i want implement my application that way that work as load balancing as well...
I have open 2 telnet and try same login and same folder that is inbox and try to fetch
a1 LOGIN MyUsername MyPassword
a2 SELECT INBOX
a3 fetch 660555001 body-- this response me -a3 OK Fetch completed
what is happening i dnt know but is it matter ? because my issue is multiple connection that is in this case my server allow me . ..
i am too confused what is going on . i am just beginner in this type of application .
NOTE : i not trying to fetch same email beside i use same login and same folder but not same email
ya even right now i can open 2 clients with same login and if i am trying login at same i got exception as you know but if i logout from one then second can login and if second is logout then first can login.
i want to run it parallel. :(
Hey i found some comments in selectfolder method
" Only one mailbox can be selected at a time in a connection;simultaneous access to multiple mailboxes requires multiple connections. " and i got exception from this method
" SELECT folder INBOX is locked by another connection"
is it what trying to say only one application can select folder ?
yes that is what i am doing ..right ?
but still what is happening with server or application i am damn confused what i need to do
now i am tired may be you also ha ha .. sorry and thanks for such a instant help..