on 09-25-2004 9:48 AM
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?
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>
Bubble adapter java class
classname=com.sap.aii.messaging.adapter.ModuleBubble
Bubble.Helper=com.sap.aii.messaging.adapter.ModuleBubbleHelperXIMailImpl
Part 0 : common part ######
Mail.MailSubject="mail from adapter z_outmail"
Mail.MailFrom=sender@sap.com
Mail.MailTo=demo@<you mail server name>
XIALL or XIPAYLOAD
Mail.MessageProtocol=XIPAYLOAD
Mail.Log=1110
Part : XI client to Mail server ######
OMail.TargetURL=smtp://<you mail server name>:8025
OMail.User=demo
OMail.Password=test
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
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
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
User | Count |
---|---|
87 | |
10 | |
9 | |
9 | |
9 | |
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.