on 05-03-2011 3:58 AM
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.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.