You configure the receiver mail adapter to convert XI messages to e-mails.
You use SMTP (Simple Mail Transfer Protocol) to transfer e-mails to an e-mail server.
You use IMAP4 (Internet Message Access Protocol) to put e-mails in a folder of an e-mail server.
All information of the XI message is put in the message text of the e-mail. The content of the XI message is the same as the content of the RFC822 mail message.
The payload of the XI message is used to create the mail message.
If the payload is in mail package format, the header information is also used for the e-mail.
If mail package format is not used, the header information is obtained from the adapter configuration described below.
This selection is not available in the PCK.
Define Connection Parameters for the Mail Server
Under To, enter the e-mail address of the receiver of the delivery status notification.
Define Mail Attributes
For the format, see Example below.
If the XI payload is not a mail package document, make the entries for mail attributes.
If you enter more than one address, separate them with a semicolon.
If you have specified an IMAP server under URL, the message is saved in the specified folder but is not sent to the receiver specified under To.
These addresses are visible to the receiver.
These addresses are not visible to the receiver.
You use the PayloadSwapBean module to swap the application payload with one of the attachments.
More information: PayloadSwapBean
Define Security Parameters for Message Protocol XIPAYLOAD
To do this, you must have set the Keep Attachmentsindicator.
More information: SAP NetWeaver Library under Function-Oriented View → Process Integration → Integration Directory → Defining Receiver Agreements → Security Settings for the Receiver Mail Adapter
This specification is not currently used, but will be used in the future for security archiving.
Define Adapter-Specific Message Attributes
The following attributes in the message header are then available for processing:
The following mail header fields are available for processing:
The parameters are included in the mail header under the names specified here.
The attribute namespace for the adapter is http://sap.com/xi/XI/System/Mail.
Display and Define Authentication Keys}
Define the Adapter Status
Define Parameters in Advanced Mode
Enter additional parameter names and parameter values in the table.
XI payload with mail package:
<?xml version="1.0" encoding="UTF-8"?>
<ns:Mail xmlns:ns="http://sap.com/xi/XI/Mail/30">
<Subject>Subject</Subject>
<From>namea@company.com</From>
<To>nameb@company.com</To>
<Reply_To />
<Content_Type>text/plain</Content_Type>
<Content>
This is the content.
</Content>
</ns:Mail>