on 2016 May 23 10:43 AM
Hi Experts,
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 [5]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.
Regards,
Pavithra.R
Hi Pavithra,
Where are you getting this error? in the communication channel?
What modules are you using in the sender channel?
Also, are you reading any email headers dynamically, the email headers often differs when the email comes from an automated system.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Pavitra,
May be mail contains unsupported encoding, check this note 1942219 - PI Mail Adapter throws java.lang.ArrayIndexOutOfBoundsException
Regards,
Praveen.
Hi Pavithra,
Check this note is applicable to your system 1727079 - java.lang.IndexOutOfBoundsException in Mail-Sender-Channel
If not then enable the debug trace for below locations and get the debug traces to see what went wrong. Check this sap note 856599 - FAQ: XI 3.0 / PI 7.0 / PI 7.1 Mail Adapter
com.sap. aii.adapter.mail* - Mail Adapter Bean
com.sap. aii.af.sdk.xi.net* - Connection with mail servers
com.sap. aii.af.sdk.xi.srt* - Mail Message Processing
com.sap. aii.af.sdk.xi.mo.xmb* - Detailed XI Mail Message Processing
Regards,
Praveen.
User | Count |
---|---|
79 | |
10 | |
10 | |
10 | |
10 | |
9 | |
8 | |
7 | |
5 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.