Skip to Content
avatar image
Former Member

Sending mail to gmail from sap PO7.40

Hi,

I am using SAP PI7.40 java single stack and I configured file to email where I tried to send mail to gmail account and getting the below mail.


Exception caught by adapter framework: Failed to call the endpoint


Transmitting the message to endpoint <local> using connection File_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 does not support PLAIN or LOGIN authentication

Could you advice is there any basis or NWA set-up needs to be done to send mail to gmail? I am able to send mail to internal domain ID's successfully.

Thanks,

Dhill

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • avatar image
    Former Member
    Dec 29, 2014 at 11:49 PM

    Senthil, What value you are passing in url parameter of your mail adapter, The reason you are able to send emails internally because your internal network smtp server is already allowed and configured in PO. AEX must be configured to send emails. To check this, go to NWA Configuration Infrastructure Java System Properties. Search for “Java MailClient” under tab “Services”. Check what value is set in property “mail.smtp.host”.

    -Amol

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      Hi,

      Please try using by providing your userid and maintain the gmail address in your user id in tcode: su01.

      Thanks,

      Sudhansu

  • avatar image
    Former Member
    Jan 06, 2015 at 01:23 PM

    Hello Expert,

    Any other option to be enable looks like I need to do some configuration in email server. If I don't set any authentication in email receiver I am getting the below error.

    Message processing failed. 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 RCPT TO; 550 5.7.1 Unable to relay


    But for the same mail server I could able to send external mail from ECC server. Kindly advice.


    Thanks,

    Dhill

    Add comment
    10|10000 characters needed characters exceeded