Search The ForumSearch   RegisterRegister  LoginLogin

AfterLogic WebMail Pro

 AfterLogic Forum : AfterLogic WebMail Pro
Subject Topic: IMAP-Server flags mails as read to early Post ReplyPost New Topic
Author
Message << Prev Topic | Next Topic >>
gandro
Newbie
Newbie


Joined: 04 October 2009
Online Status: Offline
Posts: 3
Posted: 11 October 2009 at 1:51am | IP Logged Quote gandro

I'm using AfterLogic WebMail PHP with an MS-Exchange IMAP-Server. The server marks new mails as read when WebMail fetches the header (I'm using "all headers" settings for storage):

Debug Log:
Code:

[10:39:40.258] IMAP4 < * OK The Microsoft Exchange IMAP4 service is ready.\r\n
---- snip ----
[10:39:40.327] IMAP4 > FTC6978 FETCH 1:* (FLAGS UID RFC822.SIZE)
---- snip ----
[10:39:40.445] IMAP4 < * 59 FETCH (FLAGS (\Seen) UID 549 RFC822.SIZE 996)\r\n
[10:39:40.447] IMAP4 < * 60 FETCH (FLAGS (\Seen) UID 551 RFC822.SIZE 3052)\r\n
[10:39:40.449] IMAP4 < * 61 FETCH (FLAGS (\Seen \Recent) UID 580 RFC822.SIZE 9419)\r\n
[10:39:40.451] IMAP4 < * 62 FETCH (FLAGS (\Recent) UID 585 RFC822.SIZE 994)\r\n
[10:39:40.453] IMAP4 < FTC6978 OK FETCH completed.\r\n
[10:39:40.456] IMAP4: getParamsMessages()=0.129075050354
[10:39:40.468] IMAP4 > CmdRepeat: EXAMINE "INBOX"
[10:39:40.470] IMAP4 > WM4984 UID FETCH 585 (UID FLAGS RFC822.SIZE BODY[HEADER.FIELDS (RETURN-PATH RECEIVED MIME-VERSION FROM TO CC DATE SUBJECT X-MSMAIL-PRIORITY IMPORTANCE X-PRIORITY CONTENT-TYPE)])
[10:39:40.483] IMAP4 < * 62 FETCH (UID 585 FLAGS (\Seen \Recent) RFC822.SIZE 994 BODY[HEADER.FIELDS (RETURN-PATH RECEIVED MIME-VERSION FROM TO CC DATE SUBJECT X-MSMAIL-PRIORITY IMPORTANCE X-PRIORITY CONTENT-TYPE)] {976}\r\n
[10:39:40.485] IMAP4 < MIME-Version: 1.0\r\n
---- snip ----
[10:39:40.511] IMAP4 < From: **** <****@gmx.com>\r\n
[10:39:40.513] IMAP4 < To: "****" <****@****.**>\r\n
[10:39:40.515] IMAP4 < Date: Sun, 11 Oct 2009 10:39:00 +0200\r\n
[10:39:40.517] IMAP4 < Subject: E-Mail Test\r\n
[10:39:40.519] IMAP4 < Content-Type: multipart/alternative;\r\n
[10:39:40.520] IMAP4 <  \tboundary="_000_vbps80h0ef657fb33a20f452f26fe834970318aneth zch_"\r\n
[10:39:40.522] IMAP4 < \r\n
[10:39:40.524] IMAP4 <  FLAGS (\Seen \Recent))\r\n
[10:39:40.531] IMAP4 < WM4984 OK FETCH completed.\r\n


As you can see, the server adds the \Seen flag on fetch. Is there a possibilty to work around this on client-side? (I have no access to the server)
Back to Top View gandro's Profile Search for other posts by gandro
 
Igor
AfterLogic Support
AfterLogic Support


Joined: 24 June 2008
Location: United States
Online Status: Offline
Posts: 6092
Posted: 12 October 2009 at 1:38am | IP Logged Quote Igor

In this situation, WebMail Pro does not modify any flags when fetching them along with message UIDs. Thus, this can not be worked around on WebMail Pro side without rewriting IMAP server interaction scheme.

--
Regards,
Igor, AfterLogic Support
Back to Top View Igor's Profile Search for other posts by Igor
 

If you wish to post a reply to this topic you must first login
If you are not already registered you must first register

  Post ReplyPost New Topic
Printable version Printable version

Forum Jump

Powered by Web Wiz Forums version 7.9
Copyright ©2001-2004 Web Wiz Guide