Download & Extend

Cannot use POP3 and choose not to delete old messages

Project:Mailhandler
Version:6.x-1.x-dev
Component:Code
Category:task
Priority:normal
Assigned:Unassigned
Status:closed (fixed)

Issue Summary

Currently, if you use POP3 for a mailbox, and choose to not delete old messages, each time the mailbox is processed *all* of the messages (old and new) will be processed and recreated as objects (whether node, comment, etc) within Drupal. This is because there is no support in IMAP functions to get the UID of a message in a POP mailbox. There is a way to get what's called a UIDL for the POP message, but I don't believe it can be done through the IMAP PHP functions.

I propose we patch the module to provide help text and form validation to this regard on the new mailbox creation form. In the future maybe the module is changed to support POP and not deleting old items from the mailbox, but for now it could remain as unsupported. Does this sound reasonable?

Comments

#1

Status:active» needs review

Attached is a patch that does what I explain above.

AttachmentSize
mailhandler-511560-1.patch 2.28 KB

#2

Status:needs review» fixed

committed to CVS

#3

Status:fixed» closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

nobody click here