[jira] Commented: (OFBIZ-38) Java Mail UDIL and mark as read.

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] Commented: (OFBIZ-38) Java Mail UDIL and mark as read.

Nicolas Malin (Jira)

    [ https://issues.apache.org/jira/browse/OFBIZ-38?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12490540 ]

BJ Freeman commented on OFBIZ-38:
---------------------------------

Jacopo:
most of my clients are using POP3, not IMAP.
the current implementation is for IMAP.
IMAP does message tracking when downloading, so messages are not duplicated, i.e. downloaded more than once.
So using the Java-mail-container's "delete-mail" is false if they want to keep them on the server

there are two options in POP3
1)delete the message from the POP3 server- which not all clients want.
2) use Unique ID Listing (UIDL) to check if the email has been down loaded.

This would require the communication event to store the UIDL and IncomingEmail service to check if the UIDL for that message is already in the communications events. then Java-mail-container's "delete-mail"= false will not cause duplicate messages.



> Java Mail UDIL and mark as read.
> --------------------------------
>
>                 Key: OFBIZ-38
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-38
>             Project: OFBiz (The Open for Business Project)
>          Issue Type: Improvement
>          Components: content
>    Affects Versions: SVN trunk
>            Reporter: BJ Freeman
>            Priority: Minor
>
> implement using the UDIL. for the Java mail container. this would keep from downloading the message more than once.
> also put in a parm to set if the messge should be marked as read.

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.