When an incoming mail server is configured using IMAP to collect mail from a Gmail account it marks the message as read, meaning it is difficult to see what has been read when logging into the Gmail account.
Is there a way to leave the message as unread on the mail server?
Moreover, is it possible for the message to be automatically marked as read within openERP once it is read in Gmail, similar to how IMAP works on most mobile devices?
Real IMAP client is like a remote access/sync to a mail server. So you have just one repository for your emails and your local copy is like a managed cache that is sync each time you check mail on server.
In Openerp IMAP is used just as auth, but really, openerp copy from the server ONLY mail marked as "unread" from the IMAP inbox.
This new mail will be "unread" in openerp and "read" on IMAP server
If you read some email from you IMAP server you will not have that email in openerp (just remark the email as unread and openerp will fetch it)
If you delete some email from the server this will continue to exist in openerp because there is not sync but just fetch.
OpenERP:POP is more manageable but it can't be used with catchall account due to a bug (see: bugs.launchpad.net/openobject-addons/+bug/1104091)
OpenERP:IMAP should be changed in order to fetch all "unread (by openerp)" email! means that OpenERP should fetch those email that it has never saw before without change the "read" status on the IMAP server
It seems openerp uses unread to know which mails to fetch, and once fetched, needs to mark those as read so that on the next fetch, it doesn't fetch the same ones again, I don't see a way of leaving it unread on server, and having openerp know which messages not to fetch on the next run. I may be wrong though.
Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!
About This Community
|Asked: 3/19/13, 2:23 PM|
|Seen: 7539 times|
|Last updated: 6/24/16, 12:39 AM|