Skip to Content
0
Nov 19, 2004 at 03:56 PM

XI3.0 MailAdapter: Problem with receiving mails from Mailserver

118 Views

Hi all,

I tried to set up a scenario using the mail adapter as the sender and the file adapter as the receiver.

The problem is that the mailadapter logs in into the mailserver but then it stops working with an error.

Here is my setup of the MailSenderChannel:

Transport Protocol: IMAP4

Message Protocol: XIPAYLOAD

Adapter Engine: Integration Server

URL: IMAP://mailservername

User: ****

Password: ****

Mailattributes: Use Mail Package & Keep Attachments is checked

Namespace and Interfacename is also filled in.

The Error Message is as follows:

#1.5#000255AF6C53005500000BC8001010520003E93BC7109362#1100867882226

#/Applications/ExchangeInfrastructure/AdapterFramework/SAPLibraries/SAPXDK#

#com.sap.aii.messaging.srt.xmb.XMBIMAPInitiatorServiceImpl.run()#J2EE_GUEST

#0####da269f003a2711d98349000255af6c53#output##0#0#Error#1

#com.sap.aii.messaging.srt.xmb.XMBIMAPInitiatorServiceImpl#Plain##

#exception caught during processing mail message; java.lang.StringIndexOutOfBoundsException:

String index out of range: -1#

I guess this message came up because my interface definition is wrong. How does the Datastructure for an incoming mail look like? I just defined one field as string to keep the whole email message. Does this work or do I need to have some kind of standard xsd for mail?

Thanks in advance!

/Michael