cancel
Showing results for 
Search instead for 
Did you mean: 

Mail adapter error: Unsupported protocol: linsmtp [null "null"]

Former Member
0 Kudos

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.

Accepted Solutions (0)

Answers (4)

Answers (4)

Former Member
0 Kudos

Connected.

Former Member
0 Kudos

Hi,

The URL in the PI receiver mail adapter should be:

smtp://<mailserver>

regards,

Daniel

Former Member
0 Kudos

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,

former_member200962
Active Contributor
0 Kudos
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.

former_member472138
Active Contributor
0 Kudos

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

Former Member
0 Kudos

Hi Pothana,

Do I need to do these setting is XI system or at Email server?

Thanks

Deepthi.