Messages are not set as read
tylor - May 30, 2008 - 23:57
| Project: | Mailhandler |
| Version: | 5.x-1.x-dev |
| Component: | Code |
| Category: | support request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | duplicate |
Jump to:
Description
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?
| Attachment | Size |
|---|---|
| message_read0.patch | 444 bytes |

#1
This 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! :)
#2
Please see if this patch (for D6) works for you: http://drupal.org/node/349141#comment-1172489
Marking as duplicate. Please reopen if necessary.