Client: Outlook Express 6
Implementing Server in java
Scenario: I am able to list the folders but not able to list the mails when
i select a particular mail folder say customised or Sent/Trash.. etc
Problem: Select and UID Fetch command
Question:
1. can i have UIDVALIDITY 1 as uid next will always be unique. If not how
and when should i change UIDVALIDITY ? can i toggle with 0 or 1?
2. in the log below;UIDNEXT is 3158 but when client issues the UID Fetch
command its 1:* WHY??
3. PARSE ERROR: hr=2148322516. what is the cause for this error?? how can
i rectify?? Is there any syntax mistake is Response???
4. Buffer(literal) length is same for all its {2}. Do i need to calculate
this ??i have hard coded this. If needs calculation how??
5. Because of above problems I am unable to get the list of mails when i
select a particular mail folder. How can i proceed further??
Client Log is as below:
k9ri SELECT "INBOX."
IMAP: 17:09:42 [db] OnNotify: asOld = 5, asNew = 5, ae = 3
IMAP: 17:09:42 [rx] * 3 EXISTS
IMAP: 17:09:42 [rx] * 0 RECENT
IMAP: 17:09:42 [rx] * OK [UIDVALIDITY 1]UID validity status
IMAP: 17:09:42 [rx] * OK [UIDNEXT 3158] Predicted next UID.
IMAP: 17:09:42 [rx] * FLAGS (\Answered \Flagged \Deleted \Recent \Draft
\Seen).
IMAP: 17:09:42 [rx] * OK [PERMANENTFLAGS (\* \Answered \Flagged \Deleted
\Recent \Draft \Seen)] Permanent flags
IMAP: 17:09:42 [rx] * OK [UNSEEN 0].
IMAP: 17:09:42 [rx] k9ri OK [READ-WRITE] SELECT completed
IMAP: 17:09:42 [tx] wo9i IDLE
IMAP: 17:09:42 [db] OnNotify: asOld = 5, asNew = 5, ae = 3
IMAP: 17:09:42 [rx] + Waiting for DONE.
IMAP: 17:09:42 [tx] DONE
IMAP: 17:09:42 [db] OnNotify: asOld = 5, asNew = 5, ae = 3
IMAP: 17:09:42 [rx] wo9i OK IDLE completed.
IMAP: 17:09:42 [tx] qse6 UID FETCH 1:* (BODY.PEEK[HEADER.FIELDS (References
X-Ref X-Priority X-MSMail-Priority X-MSOESRec Newsgroups)] ENVELOPE
RFC822.SIZE UID FLAGS INTERNALDATE)
IMAP: 17:09:42 [db] OnNotify: asOld = 5, asNew = 5, ae = 3
IMAP: 17:09:42 [rx] * 1 FETCH (BODY[HEADER.FIELDS ("REFERENCES" "X-REF"
"X-PRIORITY" "X-MSMAIL-PRIORITY" "X-MSOESREC" "NEWSGROUPS")]{2}
IMAP: 17:09:42 [rx] Buffer (literal) of length 2
IMAP: 17:09:42 [rx] ENVELOPE ("Wed, 1 Mar 2006 17:32:03 +0530 (GMT)"
"testmail1" ((NIL NIL "guest" "archimedes.co.in")) ((NIL NIL "guest" "
archimedes.ampersand.co.in")) ((NIL NIL "guest" "archimedes.co.in")) ((NIL
NIL "lk" "192.168.11.21")) NIL NIL NIL "<
8755816.1141214523971.JavaMail.root@pythagorus>") RFC822.SIZE 432 FLAGS ()
INTERNALDATE " 1-Mar-2006 17:32:03 +0530")
IMAP: 17:09:42 [db] PARSE ERROR: hr=2148322516
IMAP: 17:09:42 [rx] * 2 FETCH (BODY[HEADER.FIELDS ("REFERENCES" "X-REF"
"X-PRIORITY" "X-MSMAIL-PRIORITY" "X-MSOESREC" "NEWSGROUPS")]{2}
IMAP: 17:09:42 [rx] Buffer (literal) of length 2
IMAP: 17:09:42 [rx] ENVELOPE ("Wed, 1 Mar 2006 18:16:20 +0530 (GMT)"
"testmail2" ((NIL NIL "guest" "archimedes.co.in")) ((NIL NIL "guest" "
archimedes.co.in")) ((NIL NIL "guest" "archimedes.co.in")) ((NIL NIL "lk" "
192.168.11.21")) NIL NIL NIL "<
12468716.1141217181025.JavaMail.root@pythagorus>") RFC822.SIZE 433 FLAGS ()
INTERNALDATE " 1-Mar-2006 18:16:20 +0530")
IMAP: 17:09:42 [db] PARSE ERROR: hr=2148322516
IMAP: 17:09:42 [rx] * 3 FETCH (BODY[HEADER.FIELDS ("REFERENCES" "X-REF"
"X-PRIORITY" "X-MSMAIL-PRIORITY" "X-MSOESREC" "NEWSGROUPS")]{2}
IMAP: 17:09:42 [rx] Buffer (literal) of length 2
IMAP: 17:09:42 [rx] ENVELOPE ("Fri, 3 Mar 2006 16:51:40 +0530 (GMT)"
"testmail3" ((NIL NIL "guest" "archimedes.co.in")) ((NIL NIL "guest" "
archimedes.ampersand.co.in")) ((NIL NIL "guest" "archimedes.co.in")) ((NIL
NIL "lk" "192.168.11.21")) NIL NIL NIL "<
11733267.1141384902172.JavaMail.root@pythagorus>") RFC822.SIZE 433 FLAGS ()
INTERNALDATE " 3-Mar-2006 16:51:40 +0530")
IMAP: 17:09:42 [db] PARSE ERROR: hr=2148322516
IMAP: 17:09:42 [rx] qse6 OK UID FETCH completed.
IMAP: 17:09:42 [tx] bfzr IDLE
IMAP: 17:09:42 [db] OnNotify: asOld = 5, asNew = 5, ae = 3
IMAP: 17:09:42 [rx] + Waiting for DONE.
IMAP: 17:19:31 [tx] Dropping connection, LOGOUT sent
IMAP: 17:19:31 [db] Connection to '192.168.11.21' closed.
IMAP: 17:19:31 [db] OnNotify: asOld = 5, asNew = 0, ae = 5
Eagerly waiting for solution,
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman13.u.washington.edu/pipermail/imap-protocol/attachments/20060320/519c8d16/attachment.html>