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
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?

AttachmentSize
message_read0.patch444 bytes

#1

scottrigby - June 22, 2008 - 04:10

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

z.stolar - May 12, 2009 - 06:22
Status:active» 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.

 
 

Drupal is a registered trademark of Dries Buytaert.