move the mail to different folder

View: New views
5 Messages — Rating Filter:   Alert me  

move the mail to different folder

by Richard Swart :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,

Can u please suggest me the answer for moving the mail to different folder.

i tried with below code, it is not working. I am able to read the mail but not able to move to another folder.

<imaps:connector name="imapsConnector" mailboxFolder="INBOX" deleteReadMessages="false"
backupEnabled="true" backupFolder="test">
<imaps:tls-client path="clientKeystore" storePassword="changeit" />
<imaps:tls-trust-store path="greenmail-truststore" storePassword="changeit" />
</imaps:connector>

<service name="imapService">

<inbound>
<imaps:inbound-endpoint connector-ref="imapsConnector" user="uname"
password="pwd" host="host.name" port="993" >
</imaps:inbound-endpoint>
</inbound>
<echo-component/>
</service>

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email



Re: move the mail to different folder

by antoine.borg :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hello there,

Are you seeing any exceptions when running this? From your message, it
seems to be that the messages are read and then not moved to the backup
folder called "test". Are they being marked as "SEEN"?

HTH

A

dp mallia wrote:

> Hi,
>
> Can u please suggest me the answer for moving the mail to different folder.
>
> i tried with below code, it is not working. I am able to read the mail but not able to move to another folder.
>
> <imaps:connector name="imapsConnector" mailboxFolder="INBOX" deleteReadMessages="false"
> backupEnabled="true" backupFolder="test">
> <imaps:tls-client path="clientKeystore" storePassword="changeit" />
> <imaps:tls-trust-store path="greenmail-truststore" storePassword="changeit" />
> </imaps:connector>
>
> <service name="imapService">
>
> <inbound>
> <imaps:inbound-endpoint connector-ref="imapsConnector" user="uname"
> password="pwd" host="host.name" port="993" >
> </imaps:inbound-endpoint>
> </inbound>
> <echo-component/>
> </service>
>
> ---------------------------------------------------------------------
> To unsubscribe from this list, please visit:
>
>     http://xircles.codehaus.org/manage_email
>
>
>
>
>  
--

Antoine Borg, Senior Consultant | Tel: +32 28 504 696
ricston Ltd., BP 2, 1180 Uccle, Brussels, BELGIUM

See our full schedule of Mule and Android courses:
http://www.ricston.com/courses/schedules/

email: _antoine.borg_@... <mailto:antoine.borg@...> |
blog: blog.ricston.com <http://blog.ricston.com> | web: ricston.com
<http://www.ricston.com/>



---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email



Re: move the mail to different folder

by Richard Swart :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,
The above code will create a folder named as test in my local drive of system and move the copy of the mail to it. is there any possibility for moving the files from inbox folder to another mail folder like draft or to some personal folder in my mail box.

regards,
dpmallia

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email



Re: move the mail to different folder

by antoine.borg :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

What above code?

A

dp mallia wrote:

> Hi,
> The above code will create a folder named as test in my local drive of system and move the copy of the mail to it. is there any possibility for moving the files from inbox folder to another mail folder like draft or to some personal folder in my mail box.
>
> regards,
> dpmallia
>
> ---------------------------------------------------------------------
> To unsubscribe from this list, please visit:
>
>     http://xircles.codehaus.org/manage_email
>
>
>
>
>  
--

Antoine Borg, Senior Consultant | Tel: +32 28 504 696
ricston Ltd., BP 2, 1180 Uccle, Brussels, BELGIUM

See our full schedule of Mule and Android courses:
http://www.ricston.com/courses/schedules/

email: _antoine.borg_@... <mailto:antoine.borg@...> |
blog: blog.ricston.com <http://blog.ricston.com> | web: ricston.com
<http://www.ricston.com/>



---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email



Re: move the mail to different folder

by Richard Swart :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

The below code will create a folder named as test in my local drive of system and move the copy of the mail to it. is there any possibility for moving the files from inbox folder to another mail folder like draft or to some personal folder in my mail box.

<imaps:connector name="imapsConnector" mailboxFolder="INBOX" deleteReadMessages="false"
backupEnabled="true" backupFolder="test">
<imaps:tls-client path="clientKeystore" storePassword="changeit" />
<imaps:tls-trust-store path="greenmail-truststore" storePassword="changeit" />
</imaps:connector>

<service name="imapService">

<inbound>
<imaps:inbound-endpoint connector-ref="imapsConnector" user="uname"
password="pwd" host="host.name" port="993" >
</imaps:inbound-endpoint>
</inbound>
<echo-component/>
</service>

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email