You make further entries for the message protocol XIPAYLOAD.
Defining Mail Attributes
See the example below. The header information is included in an XML mail package format.
You use the PayloadSwapBean module to replace the application payload with one of the attachments.
See: PayloadSwapBean
Defining Security Parameters
More information: SAP NetWeaver Library under Function-Oriented View → Process Integration → Integration Directory → Defining Sender Agreements → Security Settings for the Sender MailAdapter
To do this, you must have set the Keep Attachmentsindicator.
In addition, enter the following parameters and values in the table in Advanced Mode:
XI.ReceiverParty
XI.ReceiverService
The values you enter here must match the values for Receiver Party and Receiver Service in the corresponding sender agreement.
This specification is not currently used, but will be used in the future for security archiving.
Defining Additional Parameters
For Quality of Service Exactly Once in Order, enter the Queue Name.
See: Quality of Service
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>