on 11-12-2010 4:33 AM
Hi,
Idoc to Mail adapter. First time working with mail adapter.
When I tried to send messages from transaction "SO00", i'm able to receive the mail which means the connection is fine from XI to mail server.
But when I try to send the file using mail adapter, it is failing in adapter engine with the error below.
-
Success Mail: calling the adpter for processing
Error Mail: call failed; com.sap.aii.messaging.srt.BubbleException: Unsupported protocol: linsmtp [null "null"]
Success Mail: sending a delivery error ack ...
Success Mail: sent a delivery error ack
Error Mail: error occured: com.sap.aii.af.ra.ms.api.RecoverableException: com.sap.aii.messaging.srt.BubbleException: Unsupported protocol: linsmtp [null "null"]
Error MP: Exception caught with cause com.sap.aii.af.ra.ms.api.RecoverableException: com.sap.aii.messaging.srt.BubbleException: Unsupported protocol: linsmtp [null "null"]
2010-11-12 14:12:02 Error Exception caught by adapter framework: com.sap.aii.messaging.srt.BubbleException: Unsupported protocol: linsmtp [null "null"]
2010-11-12 14:12:02 Error Delivery of the message to the application using connection Mail_http://sap.com/xi/XI/System failed, due to: com.sap.aii.af.ra.ms.api.RecoverableException: com.sap.aii.messaging.srt.BubbleException: Unsupported protocol: linsmtp [null "null"].
-
Checked SMICM -- GOTO-->Services --> SMTP is active with green tick.
Receiver adapter:
Transport Protocol = SMTP
Message Protocol = XIPAYLOAD or XI ALL
URL = SMTP:linsmtp.sap.com
Not using User Authentication
User/ Password given - No userid/pwd
From, To = mail id
Content Encoding = try with none or base64*
Is there any setting which I need to do? how to connect and send message to mail server?
Thanks
Deepthi.
Connected.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
The URL in the PI receiver mail adapter should be:
smtp://<mailserver>
regards,
Daniel
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
My connection is working now when I downloaded the xsd and executed in the mapping as described in the blog.
/people/michal.krawczyk2/blog/2005/03/07/mail-adapter-xi--how-to-implement-dynamic-mail-address
Connection is working fine now, but im getting the below payload.
<?xml version="1.0" encoding="UTF-8" ?>
- <ns1:Mail xmlns:ns1="http://sap.com/xi/XI/Mail/30">
<Subject>TESTING</Subject>
<From>deepthi at testing.com</From>
<To>deepthi at testing.com</To>
<Content>Testing purpose</Content>
</ns1:Mail>
The question is how to get my actual message which looks like below. this is the Idoc to file map and the resultant output file looks like below
<?xml version="1.0" encoding="UTF-8"?>
<ns0:order xmlns:ns0="http://testing/xi/OrderProcessing">
<document_type>ZU</document_type>
<vendor_number>200000</vendor_number>
<vendor_email_address/>
<vendor_address_line_1>XXXXXX</vendor_address_line_1>
<vendor_address_line_2>XXXXXXXXX</vendor_address_line_2>
<vendor_address_line_3>123242343244566</vendor_address_line_3>
<vendor_address_line_4>US</vendor_address_line_4>
<delivery_address_line_1>1433</delivery_address_line_1>
<delivery_address_line_2>test</delivery_address_line_2>
</ns0:order>
How to send this file as email attachment using mail adapter. Do I need to use 2 maps?
looks like Mail adapter is working only when we use the xsd which is given above and by providing the required details.
Kindly help me if anyone worked on mail adapters.
Thanks
Deepthi,
URL = SMTP:linsmtp.sap.com
Are you sure the above setting you mentioned in MAIL channel is correct?
should it not be smtp://<yourmailserveraddress> .....mail server should be the one you are trying to connect to.
Regards,
Abhishek.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Deepthi,
I guess the default settings have changed.
Fix it:
run ./conf.pl from the webmail/config/ dir
go to 2 (Server Settings)
go to B (Update SMTP Settings)
go to 7 (SMTP Authentication)
Try to detect auth mechanisms? y/N: y
none, login, cram-md5, or digest-md5 login: set it to login if it is something else otherwise hit enter
Would you like to use other login and password for all mail.
SMTP connections? y/N:N
S to save
Q to quit
http://help.sap.com/saphelp_nw04/helpdata/en/6b/4493404f673028e10000000a1550b0/content.htm
Regards
Pothana
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
81 | |
10 | |
10 | |
9 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.