cancel
Showing results for 
Search instead for 
Did you mean: 

mail sender channel

Former Member
0 Kudos

Hi,

we have a problem configuring the mail sender channel. We want to realize a mail->xi->file scenario. No messages arrive at the xi server (sxmb_moni). In the adapter monitoring the sender adapter seems to be fine (green led, text: running).

The mail address is a web.de address. How should the URL in the adapter look like? We tried imap://imap.web.de, imap://imap.web.de/username, but no messages arrived.

Btw we read in an other topic, that there exists a monitor (url: http://xihost:port/mdt/amtServlet). The server replies a 404 (not found) http error. How can we get this monitor?

Thanks

Accepted Solutions (0)

Answers (5)

Answers (5)

shubhnam_singh
Participant
0 Kudos

hi thomas... i'm quite fresh to XI and i hope u wont mind sharing the solution tht u applied.... i think if u change ur Quality of Service to Exactly Once or to Exactly Once in Order, might help.... regards

Former Member
0 Kudos

Hi Shubhnam, thank you for your suggestion. But I think my problem was that the port was blocked by the firewall.

Nevertheless I'll try to change parameter... I let you know if it works

by

Thomas

Former Member
0 Kudos

Hi,

I have configured a sender mail adapter. But it gives me an error message in Adapter monitoring. I get a red icon and the error message is <b>'not initialized: mail agent null'</b>.

Any suggestions are most welcome.

Regards,

Swaroopa

stefan_grube
Active Contributor
0 Kudos

> Btw we read in an other topic, that there exists a

> monitor (url: http://xihost:port/mdt/amtServlet). The

> server replies a 404 (not found) http error. How can

> we get this monitor?

In SP9 the URL is:

http://<host>:<port>/AdapterFramework

Regards

Stefan

Message was edited by: Stefan Grube

stefan_grube
Active Contributor
0 Kudos

Hi Thomas,

does web.de allow imap access? In my web.de account I can only use pop3 access. Please check this first.

The next point is: Sometimes a firewall does not allow imap or pop3 access to outside mail servers.

Before you test your scenario with the mail adapter, you should first the access to the mail server with a standard mail client like Outlook Express. If that works, you can use the same access parameters with the mail adapter.

regards

Stefan

Former Member
0 Kudos

Thanks for your answer,

yes, web.de does allow imap, I get my mails with thunderbird with the imap protocol. I tried also an other mail server, without success.

I describe my scenario, perhaps there is an error in my configuration:

In the Integration Directory I have imported the following xsd file

<xs:schema targetNamespace="http://sap.com/xi/XI/Mail/30"

xmlns:xi="http://sap.com/xi/XI/Mail/30"

xmlns:xs="http://www.w3.org/2001/XMLSchema">

<!--

  • Mail

-->

<xs:element name="MailReceipt">

<xs:annotation>

<xs:documentation>Mail Receipt for XI - Mail Adaper</xs:documentation>

</xs:annotation>

<xs:complexType>

<xs:sequence>

<xs:element name="Server" type="xs:string"/>

<xs:element name="Format" type="xs:string"/>

<xs:element name="UseMailPackage" type="xs:boolean"/>

<xs:element name="Encoding" type="xs:string"/>

<xs:element name="Subject" type="xs:string" minOccurs="0"/>

<xs:element name="From" type="xs:dateTime" minOccurs="0"/>

<xs:element name="To" type="xs:string" minOccurs="0"/>

<xs:element name="Date" type="xs:dateTime" minOccurs="0"/>

</xs:sequence>

</xs:complexType>

</xs:element>

</xs:schema>

I have imported the xsd file in myNamespace into External Definition. Then I made a Messege Interface (outbound asynchronous)out of the imported data type (name--> MailReceiver).

In the configuration of the mail sender channel I have following settings:

message-protocol: XIPAYLOAD

Use mail package: True

Content Encoding: base64

Keep attachment: False

Interface Namespce: myNamespace

Interface Name: MailReceiver

Quality of service: Best effort

In my scenario I have made a sender agreement which uses the mail sender adapter, interface and namespace of the sender are myNamespace an MailReceiver.

hope anybody can help me...

stefan_grube
Active Contributor
0 Kudos

I don't know thunderbird, but I assume that you just take the same configuration.

protocol: IMAP4

URL: imap://<mailserver_access_string>

from the description of web.de it should be: imap://imap.web.de

User, Password as in thunderbird.

Authentication Method: should be Plain.

If you cannot access the mail server:

1. The URL is wrong

2. Your firewall does not allow to use IMAP.

Note that this can be different on your PC where you run thunderbird, and the server where XI is installed.

Regards

Stefan

Message was edited by: Stefan Grube

Former Member
0 Kudos

The error number 404 comes if I try to access the url http://xihost:j2eeport/mdt/amtServlet. Any idea why the page doesn't exist?

The adapter seems to be ok (adapter monitoring).

I'm now checking the firewall settings of the xi server...

stefan_grube
Active Contributor
0 Kudos

By the way: Which SP level do you have installed?

Former Member
0 Kudos

We have installed SP 9.

stefan_grube
Active Contributor
0 Kudos

In SP9 the URl of the adapter monitor is different, there are some issues with Mail adapter. I strongly recommend using at least SP14.

Regards

Stefan

former_member187339
Active Contributor
0 Kudos

Hi Thomas,

>>imap://imap.web.de

It should be like imap://<servername>/<foldername>

something like this imap://mailserver/InBox

http://help.sap.com/saphelp_nw04/helpdata/en/ad/bf93409c663228e10000000a1550b0/frameset.htm

>>http://xihost:port/mdt/amtServlet

port should be j2ee port.

check ur exchange profile once for ports

Regards

Suraj