Skip to Content
author's profile photo
Former Member

Configuring Receiver Adapter Mail for gmail

Hi all, I'm having a problem with the Mail Adapter.

I did a UDF for Dynamic Configuration in this way

DynamicConfiguration conf = (DynamicConfiguration) container.getTransformationParameters().get(StreamTransformationConstants.DYNAMIC_CONFIGURATION);

DynamicConfigurationKey userKey = DynamicConfigurationKey.create("sap.com/xi/XI/System/Mail", "TServerLocation");

DynamicConfigurationKey authKey = DynamicConfigurationKey.create("sap.com/xi/XI/System/Mail", "TAuthKey");

conf.put(userKey,"test(at)gmail(dot)com");

conf.put(authKey,"passMail");

passMail is configured in the Advanded tab of the CC in "View Authorization Keys"

The problem is if i write in Authentication Method the user and and the Password the mail is sented ok, but I need it in a dynamic way.

The error is:

failed to send mail: java.io.IOException: server not responding OK to AUTH; 535 5.7.1 mail.google.com/support/bin/answer.py?answer=14257 e4sm4132946pbj.4

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 AUTH; 535 5.7.1 mail.google.com/support/bin/answer.py?answer=14257 e4sm4132946pbj.4

I have read all the questions and answers, and I have read the documentation of the Receiver Mail adapter (http://help.sap.com/saphelp_nw04/helpdata/en/6b/4493404f673028e10000000a1550b0/content.htm)

I do not know what more to do, please if any can help me 😊

Thank you.

Regards.

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

1 Answer

  • Posted on May 03, 2011 at 03:56 AM

    Hello,

    You must use

    http://sap.com/xi/XI/System/Mail
    

    as your namespace, instead of

    sap.com/xi/XI/System/Mail

    Hope this helps,

    Mark

    Add comment
    10|10000 characters needed characters exceeded