Closed (duplicate)
Project:
Mailhandler
Version:
5.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
30 May 2008 at 23:57 UTC
Updated:
12 May 2009 at 06:22 UTC
I noticed that new messages are not set as read when they are processed. Deleting messages works fine, but some people might want to retain the original. This is with the current revision of the 5.x branch.
One fix that seems to work is to force the seen flag using:
imap_setflag_full($stream, $msg_number, "\\Seen");
Although this works, I have a feeling this isn't the best way to achieve this. Any ideas for a better solution?
| Comment | File | Size | Author |
|---|---|---|---|
| message_read0.patch | 444 bytes | tylor |
Comments
Comment #1
scottrigbyThis is an issue for me as well – though I'm hesitant to use a patch that "isn't the best way" – any one have better ways to do this?
Thanks! :)
Comment #2
z.stolar commentedPlease see if this patch (for D6) works for you: http://drupal.org/node/349141#comment-1172489
Marking as duplicate. Please reopen if necessary.