cancel
Showing results for 
Search instead for 
Did you mean: 

Mail adapter issue

Former Member
0 Kudos

Hi Gurus,

Im configuring the receiver mail adapter to send the XI payload to receipiebnts.

is there any extra configuartion other than the below message should be done in the mail adapter.

I specified the URL in the mail adapter as smtp://mailservername

I specified the authentication to login to the mail server.

I specified the mail attributes.

From

To

Subject

Content encoding is base64.

when I tested the message with the SOAP client using the below

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:mail="http://access/prototypes/Mailwebservice">

<soapenv:Header/>

<soapenv:Body>

<mail:mt_mail>

<From>abc</From>

<To>def</To>

<Subject>?</Subject>

<Message></Message>

</mail:mt_mail>

</soapenv:Body>

</soapenv:Envelope>

Im getting the Connection Refused message.

Any help appreciated.

Thanks,

Jay

Accepted Solutions (1)

Accepted Solutions (1)

former_member463616
Contributor
0 Kudos

Hi,

Please look at this thread:

Hope this helps.

Regards,

P.Rajesh

Answers (3)

Answers (3)

naveen_chichili
Active Contributor
0 Kudos

Hi Jay,

You can check this [SMTP configuration|http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/a0a27c01-26b0-2c10-bd8a-94498efa7ff6?quicklink=index&overridelayout=true]

Thanks and Regards,

Naveen

Former Member
0 Kudos

Hi Naveen,

Im getting the following error message in PI.

failed to send mail: java.io.IOException: server does not support PLAIN or LOGIN authentication

Can you please provideany solution,.

Thanks,

Jay.

naveen_chichili
Active Contributor
0 Kudos

HI Jay,

Remove your outlook user id and password and keep authentication mode as Plain and try in mail adapter configuration.

Thanks and Regards,

Naveen

Former Member
0 Kudos

Hi Naveen,

I removed the user id and password ,but still getting the same error.

I used the source message type

From

To

Subject

Message

and I used the target message type as teh imported XSD Mail

Mail

Subject

From

To

Content.

I gave the following settings in the receiver mail adapter configuration.

Transport protocol SMTP

Message protocol XIPAYLOAD

URL smtp://mailserverhost name(specified in the SCOT transaction)

I checked the mail box Use Mail package.

But Im still getting the same message

Server does not support plain or login authentication.

can you please suggest me if Im missing something in teh configuration.

Thanks,

Jay.

former_member200962
Active Contributor
0 Kudos
when I tested the message with the SOAP client using the below
Im getting the Connection Refused message

you seem to be getting the error while sending message from SOAP client to PI. can you open the SOAP URL which you used in the SOAP client from web-browser of your desktop?

Alternately you can also try to ping the IP address and port number from your machine (or from the machine where the SOAP client is installed).

baskar_gopalakrishnan2
Active Contributor
0 Kudos

Connection refused due to many reasons. Smtp port might not be enabled yet, Firewall issues and invalid mail server URL. Talk to basis team.

Also refer this [link|http://www.riyaz.net/blog/xipi-sending-emails-using-xi-mail-adapter/technology/sap/83/]