cancel
Showing results for 
Search instead for 
Did you mean: 

Error in receiver Mail adapter: Client was not authenticated

Former Member
0 Kudos

Hi.

My requirement is to send email via PI to an extermal mail address. I am trying to use the following configuation for the same.

Tramsport Protocol: SMTP

Message Protocol: XIPAYLOAD

URL: To get the value of URL, execute transaction SCOT in PI system. Double click on SMTP and get the Mail host from there (name). So the URL has been specified as smtp://name

Comfigure User authentication - Checked

User: My outlook email address

Password: My outlook email password

From: My outlook email address

To: External address to which the email needs to be sent

Content encoding: base64

But the email is not getting sent. when I check the adapter engine I see the errors:

Mail: error occured: java.io.IOException: server not responding OK to MAIL FROM; 530 5.7.1 Client was not authenticated

Mail: error occured: com.sap.aii.af.lib.mp.module.ModuleException

MP: exception caught with cause com.sap.aii.af.sdk.xi.srt.BubbleException: Failed to call the endpoint [null "null"]; nested exception caused by: java.io.IOException: server not responding OK to MAIL FROM; 530 5.7.1 Client was not authenticated

Adapter Framework caught exception: Failed to call the endpoint

Delivering the message to the application using connection Mail_http://sap.com/xi/XI/System failed, due to: com.sap.engine.interfaces.messaging.api.exception.MessagingException: com.sap.aii.af.sdk.xi.srt.BubbleException: Failed to call the endpoint [null "null"]; nested exception caused by: java.io.IOException: server not responding OK to MAIL FROM; 530 5.7.1 Client was not authenticated.

Can anyone please suggest what changes are needed to make this work?

Any help is greatly appreciated.

Thanks.

Anuradha.

Accepted Solutions (0)

Answers (6)

Answers (6)

Former Member
0 Kudos

The problem was with the SMTP address that I was putting in.

Thanks to all of you for the help.

Anuradha.

baskar_gopalakrishnan2
Active Contributor
0 Kudos
>>smtp://name

Example: if you use above name as yahoo mailserver then user and password should have yahoo account.

mail server: mail.yahoo.com
user:abc
password: xxxxx
Former Member
0 Kudos

Hi Sanjeev.

How can it be checked whether my user exists in the URL?

Thanks.

Anuradha.

naveen_chichili
Active Contributor
0 Kudos

HI Anuradha,

Check the below link for receiver mail configuration and follow the steps accordingly.

http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/a0a27c01-26b0-2c10-bd8a-94498efa7...

Regards,

Naveen

former_member194786
Active Contributor
0 Kudos

Hi Anuradha,

Does your user exist on the mail server mentioned in the URL?

Regards,

Sanjeev.

Former Member
0 Kudos

This is not solving the problem.

Any other thoughts?

Please advice.

Thanks.

Anuradha.

Former Member
0 Kudos

chk this: