cancel
Showing results for 
Search instead for 
Did you mean: 

Error in a Mail Adapter

Former Member
0 Kudos

Hi,

I am trying to configure mail sender adapter with imaps.

Adapter status in a adapter monitor has a "red" status with following error message : "error occured: exception caught during processing mail message; java.io.EOFException: Connection closed by remote host."

When I display a mailbox by Outlook the inbox is empty.

Any help is appreciated.

Thanks.

Marian

Accepted Solutions (0)

Answers (2)

Answers (2)

moorthy
Active Contributor
0 Kudos

Hi,

Refer SAP Note -893590

Check this Demo - just configuration helps

https://www.sdn.sap.com/irj/sdn/docs?rid=/webcontent/uuid/110ff05d-0501-0010-a19d-958247c9f798#xi [original link is broken]

Regards,

Moorthy

MichalKrawczyk
Active Contributor
0 Kudos

hi,

can you see somehting more in the messaging system monitor:

http://hostname:portnumber/MessagingSystem/monitor/monitor.jsp

with your mail call

?

Regards,

michal

MichalKrawczyk
Active Contributor
0 Kudos

Hi,

have a look at my weblog:

/people/michal.krawczyk2/blog/2005/12/18/xi-sender-mail-adapter--payloadswapbean--step-by-step

it shows how to monitor the mail sender flow

Regards,

michal

Former Member
0 Kudos

Hi Michal,

thanks for pointing me to your weblog.

I will use it for sure in future. However when I do a step 2 in your weblog I get still a same error message.

Something in a configuration of my e-mail sender adapter is wrong but what ?

Transport Protocol : IMAP4

Message Protocol : XIPayload

URL : imaps:<host>:<port>/<account>

Content Encoding : base64

Keep Attachments : checked

Default Interface Namespace : http://sap.com/xi/XI/Mail/30

Default Interface Name : ORDRSP_2_IDOC_I

Quality of Service : Exactly Once

and my adapter is still not picking an e-mails and has a red icon status.

Thanks for any help.

Marian

MichalKrawczyk
Active Contributor
0 Kudos

Hi,

did you receive any mail from your mail server

with the XI adapter?

if not maybe your mail adapter does not have access

to the mail server ? (closed ports from the XI or something)?

Regards,

michal

Former Member
0 Kudos

Marian -

What protocol are you using SMTP or IMAP4?

Thanks,

Tirumal

Former Member
0 Kudos

Hi,

IMAP4 with SSL.

Marian

Former Member
0 Kudos

Hi Michal,

I just together with Exchange Server administrator found up that a connection without SSL is working fine but with SSL is not working.

We have SAP XI 3.0 with SP16 (in system status of abap part).

I checked a SAP note 893590 but there are a cases till SP14.

I am not to familiar with a SP concept so I cannot judge if Adapter Framework is on SP16.

Thanks for any help.

Marian

Former Member
0 Kudos

Hi Marian.

Have you ever succeeded in solving this problem?

i.e. Receiving the mail message through imaps (imap on ssl)

I have the same thing, but do not have the option to turn off secure imap on the exchange server.

Ta.

Rod

Former Member
0 Kudos

Hi,

1) first of all if possible be on SP 16. If you are lower you have to implement some note what is maybe mentioned above (we are on SP 16).

This part made my colleague so I try to provide as accurate information as possible.

2) It is necesary to implement (import) "SAP Cryptographic toolkit" and import a certificate to ABAP and Java part of XI.

3) In email channel configuration for URL parameter write this :

imaps:<path to your mail server>:<optional port (if default 993 not necessary>/Name of mailbox (I have "Inbox").

And thats it.

I hope that it helps.

Marian

Former Member
0 Kudos

Marian.

You are a star!

I was not sure about point 2, was thinking I had to do this, but now I know.

Thanks

Rod