Project:Mailhandler
Version:5.x-1.x-dev
Component:Code
Category:support request
Priority:normal
Assigned:Unassigned
Status:closed (duplicate)

Issue Summary

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?

AttachmentSize
message_read0.patch444 bytes

Comments

#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

Status:active» closed (duplicate)

Please see if this patch (for D6) works for you: http://drupal.org/node/349141#comment-1172489
Marking as duplicate. Please reopen if necessary.