I am configuring Mail to file scenario.
Here I am just reading the mail with an attachment which is sent by one application system to email server .
And placing the attachment file in the NFS path.
My problem is,PO not processing the file and gives the following error when it try to process the mail which comes from the application system.
"exception caught during processing mail message java.lang.StringIndexOutOfBoundsException: String index out of range: -21"
but it can process it, if i try to forward the same attachment and mail from my ID.