Explore a vibrant mix of technical expertise, industry insights, and tech buzz in member blogs covering SAP products, technology, and events. Get in the mix!
Do you realy like receiving txt mails? Have you ever configured the mail adapter to send such simple text content? Would you like to receive something like this yourself? If not have a look at this weblog. I'll present how with the use of simple XSLT transformations you can start sending HTML mails from XI mail adapter both in the content of the mail and also in the attachment. As you know within the XI you can use XSLT mappings and XSLT does not only have to be used for XML to XML transformations. With it's use we can also change our XML documents into HTML files for example. This is a sample XML file that I'll try to send as an HTML mail from the XI.
With the use of many XSLT tools (or without any) we can easily transform our XML file into an HTML file. This example shows my XSLT mapping inside transaction XSLT_TOOL (XSLT abap engine).
We can use this mapping inside our Interface mapping and it will generate an output like shown below - hope you don't mind the colours:-)
If we want to send the data inside our mail we have to configure our receiver mail adapter.
1. Sending HTML content inside the e-mail.
- set the message protocol to XIPAYLOAD
- configure the Module tab
2. Sending HTML content as an e-mail attachment.
- set the message protocol to XIALL
- configure the Module tab
Now our XI e-mails will look more like normal e-mails.
This weblog shows how simple it is to send a normal looking mail from the XI with two different configurations (inside the mail and as an attachment)