cancel
Showing results for 
Search instead for 
Did you mean: 

Mail Adapter Configuration in XI 3.0

Former Member
0 Kudos

Hi all,

i tried to set up a process using the mail adapter. Unfortunately it doesn't work. Has anyone succeeded in setting up a process with the mail adapter using POP3 and SMTP?

Accepted Solutions (1)

Accepted Solutions (1)

JiriEhrlich
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi Michael,

I did not find any documentation of the XI 3.0 mail adapter so result of practical test only for outgoing mail using SMTP:

<b>Mail server settings:</b>

SMTP port 8025 (you can configure any port of course)

Account demo, password test

<b>Mail adapter configuration:</b>

  1. Bubble adapter java class

classname=com.sap.aii.messaging.adapter.ModuleBubble

Bubble.Helper=com.sap.aii.messaging.adapter.ModuleBubbleHelperXIMailImpl

            1. Part 0 : common part ######

Mail.MailSubject="mail from adapter z_outmail"

Mail.MailFrom=sender@sap.com

Mail.MailTo=demo@<you mail server name>

  1. XIALL or XIPAYLOAD

Mail.MessageProtocol=XIPAYLOAD

Mail.Log=1110

            1. Part : XI client to Mail server ######

OMail.TargetURL=smtp://<you mail server name>:8025

OMail.User=demo

OMail.Password=test

  1. The port and path where the adapter waits for XMB messages from clients.

XI.Port=8240

XI.Path=/z_outmail

It look so that there is no POP3 support, just only IMAP.

Jiri

Former Member
0 Kudos

Hi Jiri,

the documentation is available on saphelp and there is nothing written about pop3. But if you set up the communication channel for incoming mail then you can choose between IMAP and POP3! Did you get a scenario running? And what exactly did you do within your communication channel definition?

Best

/Michael

Message was edited by: Michael Brinkert

Answers (3)

Answers (3)

Former Member
0 Kudos

Hi,

Following link has two SDN TV demos explaining the mail adapter set up.

https://www.sdn.sap.com/irj/sdn/docs?rid=/webcontent/uuid/110ff05d-0501-0010-a19d-958247c9f798#xi [original link is broken]

Thanks,

Prateek

Former Member
0 Kudos

Hi Michael,

You had some good answers, did they work? Did you forget to give points? It's a way to say "thanks".

See: </people/mark.finnern/blog/2004/08/10/spread-the-love for directions.

Click on the Yellow Star icon in each reply.

You can give:

1 - 10 pointer (solves problem, marks as answered)

2 - 6 pointers (very helpful)

Lots of 2 pointers (helpful)

Cheers,

Joan (and Mark Finnern)

Former Member
0 Kudos

Hi together!

I configured the mail adapter (SMTP) in the same way, but I get the following error in the runtime workbench:

Mail: error occured: com.sap.aii.messaging.srt.BubbleException: Failed to call the endpoint ; nested exception caused by: com.sap.aii.messaging.srt.BubbleException: Unsupported protocol for XMBMailCallerService: <server>

Exception caught by adapter framework: Failed to call the endpoint

Did anybody ever deal with this error? I think SMTP:25 should normally be the right setting. Does anybody have an idea on that?

Thanks.

Sven

Former Member
0 Kudos

Hi Sven,

I assume you are configuring a email receiver adapter.

An example configuration that worked for me is as follow:

Tansport Protocol: SMTP/IMAP4

Message Protocol: XIALL

Adapter Engine: Integration Server

URL: smtp://mail.sap.com

User:

Password:

From: myname@sap.com

To: myname@sap.com

Subject: This is a test

Regards,

Bill

Former Member
0 Kudos

Hi together,

Bill, you're right, my question was related to a receiving adapter. Now it seems to work, although I do not really now what was wrong! Anyway, thanks!

But I got still some questions, which might be easier to answer:

1. Is it neccessary to put the port behind the servername of the SMTP server?

2. Does the Adapter Metadata have to be located in the SAP namespace (http://sap.com/xi/XI/System) or what place is recommended to put them in to be available for each scenario?

3. Did anybody ever deal with this error:

Transmitting the message to endpoint http://<server>:<port>/sap/xi/engine?type=entry using connection AFW failed, due to: NO_BACK_SYSTEM_IN_HOPLIST.

Will this one be solved with note 767681?

Looking forward to get some more help! Thank you!

Sven

Former Member
0 Kudos

i tried to use the example config which you gave

i got the following error

error occured: [2006-03-30T06:02:32Z] unable to call the mailer; com.sap.aii.messaging.srt.BubbleException: Failed to call the endpoint [null "null"]; nested exception caused by: java.net.UnknownHostException: mail.sap.com