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..
yes i did it what u said let see it helps me or not .
and about code i have just copy and paste methods in your sample application where i needed and dont modified even core methods.the only difference is i have handle it automatically rather i dont have to click anywhere ..
I am waiting for my last question, and now i have new question .
i am doing following process and i get "Re-Authentication error ".
public void Connect(string host, int port, bool ssl); from TCP_Client
public void Login(string user, string password); from IMAP_Client
again imap.Connect() with check imap.IsConnected property
then imap.Login() ---here where i got exception "Re-Authentication"
my question is that when i am using imap.Disconnect(); then it should automatically disconnect and also remove authenticity as well but i got exception ..
so what should i do to complete disconnect from server ..after i disconnected from server i want to process whole thing again i am doing first time login ..or any way to prevent this..
I have downloaded LUMISOFT.net dll from your site as i am developing some tool which fetch unread mail continuously without any client interaction for business process so how can i get number of unread mail by folder name("INBOX").
and one more thing i have just starting using this library so please i hope i will get full future guidance to use of this library .
thanks i have done with search mail which is unread now i got this exception ,so what should i have to do to increase seconds to fetch mail because i don't want to drop or skip any mail. tell me how many changes i have to implement.?
"Failed to parse message within 30 seconds."
note :mail is also not so high volume it has just 1mb attachment only.
can i do something like move 1 email which is in unread folder on my server and i want to move particular mails to other folder lik unread to inbox folder..pls help me about this as it is my current R&D topic