last_mail_id are not updated when updating IMAP/POP server informations
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Power Email |
Triaged
|
Undecided
|
Unassigned |
Bug Description
I can download mail successfully with POP but have no success with IMAP, using gmail.
Any ideas?
-------
Hi,
I have found that "last_mail_id" in poweremail_
updating powermail account.
If the previous account had last_mail_id superior at the new one, no mail are download from the server.
I will try to patch this but it is difficult because side effects like "duplicated mails" if the patch set the last_email_id
is to 0 when the account state is set to approve like this:
=== modified file 'poweremail_
--- poweremail_core.py 2009-12-08 13:33:45 +0000
+++ poweremail_core.py 2009-12-09 18:57:19 +0000
@@ -180,7 +180,7 @@
def do_approval(self, cr, uid, ids, context={}):
#TODO: Check if user has rights
- self.write(cr, uid, ids, {'state'
+ self.write(cr, uid, ids, {'state'
# wf_service = netsvc.
def get_reapprove(self, cr, uid, ids, context={}):
To bypass this issue, create a new account (if you modify account/server informations) and remove the previous one.
Best regards,
Sylvain
Changed in poweremail: | |
status: | New → Triaged |
How about having an extra button to reset email counter.
Warning: Will download all mails again? How does that sound?