Additional Blogs by Members
cancel
Showing results for 
Search instead for 
Did you mean: 
Former Member
0 Kudos
h4. Introduction  This blog is an extension to my previous blog eMail  Reporting (eMail Reporting). This deals with the issue of sending out the XI payload in a  mail attachment of different formats. Here let us see how a payload is converted  to a Excel report or Word report in a mail attachment. h4. Approach   Let us use the same XSLT mapping which was used to generate a report form the  payload. But there is a small change we need to do in the mail pacakge to send  a Excel Report as an attachment. In case of eMail  Reporting (eMail Reporting)  the *Content_Typ*e was set to *text/html*,    but in this case we need to set the *Content_Type* as *application/vnd.ms-excel*.   The following is the same XSLT mapping which was used in eMail  Reporting (eMail Reporting) with just a change in Content_Type   h4. mail.xsl    h4. Source XML   h4. Mail with Excel attachment    h4. Attached Excel report       Let us go ahead and do a small change again in the content type to receive    a Word report as attachment. We just need to change the *Contet_Type*    to *application/msword* and the mail will be received with a    word as attachment.       The following are the screenshots of the mail received h4. Mail with Word attachment    h4. Attached Word report
9 Comments