Announcement Announcement Module
Collapse
No announcement yet.
How can I avoid an email to get deleted after retrieval Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • How can I avoid an email to get deleted after retrieval

    Hi guys,

    I'm using an int-mail:inbound-channel-adapter to poll emails from a pop3 mailbox but couldn't find any option to specify that the email doesn't get deleted after it has been retrieved. Am I missing something or is this not possible yet?

    Any help is appreciated.

    fkh

  • #2
    Currently we don't expose this attribute via inbound-channel-adapter

    I opened up a JIRA issue so you can follow on its progress:
    http://jira.springframework.org/browse/INT-982

    Meanwhile you can sub-class Pop3MailReciever class and override
    Code:
    shouldDeleteMessages()

    Comment


    • #3
      Hi Oleg,

      thank you for your quick response and the workaround.

      fkh

      Comment


      • #4
        @fkh can you describe how you are avoiding duplicates when polling the pop3 mailbox?

        Comment

        Working...
        X