[ 
https://issues.apache.org/jira/browse/CAMEL-5159?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Daniel Beland updated CAMEL-5159:
---------------------------------

    Attachment: copyTo_imap_copy_option_from_headers.patch

Hi,

I've attached a patch against camel-mail-2.9.2.

It contains the original patch from Benoît and some extra lines to read the 
copyTo and delete configuration from the message headers.

Cheers
                
> Allow copying email into specific folder after consuming on imap consumer
> -------------------------------------------------------------------------
>
>                 Key: CAMEL-5159
>                 URL: https://issues.apache.org/jira/browse/CAMEL-5159
>             Project: Camel
>          Issue Type: New Feature
>          Components: camel-mail
>    Affects Versions: 2.9.1
>         Environment: works only with imap connections
>            Reporter: Benoît Oury
>            Priority: Minor
>             Fix For: 2.10.0
>
>         Attachments: copyTo_imap_copy_option.patch, 
> copyTo_imap_copy_option_from_headers.patch
>
>
> Sometimes, it would be helpfull to copy or move the treated mail into a 
> specific folder after consuming it.
> The idea is to add an option "copyTo" to copy (or move if delete is true) the 
> read message in a treated" imap folder after consuming it.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira


Reply via email to