cancel
Showing results for 
Search instead for 
Did you mean: 

HTML e-mails from the receiver mail adapter

Former Member
0 Kudos

Hi,

I am following this weblog

/people/michal.krawczyk2/blog/2005/11/23/xi-html-e-mails-from-the-receiver-mail-adapter

In IR

I have created an XML file . But after message mapping only he can get like this is first line, this is second line,this is third line, then what is the source and target structure ?

and I tried in XSLT_TOOL it typed in the same way. But it gives some error

ID

what is sender adapter ?

Can anyone let me know the steps for this scenario

Thanks

dushanth

Accepted Solutions (0)

Answers (1)

Answers (1)

justin_santhanam
Active Contributor
0 Kudos

Dushant,

You can use file as Sender adapter. Copy the payload as Michal given in the blog and try to execute.

Best regards,

raj.

Former Member
0 Kudos

Thanks Raj for your reply. Do I need to download XSD file mentioned in the following weblog

Mail Adapter (XI) - how to implement dynamic mail address---/people/michal.krawczyk2/blog/2005/03/07/mail-adapter-xi--how-to-implement-dynamic-mail-address

and use it as Target or Source and Target structure are same as mention in the scenario I am doing

XI: HTML e-mails from the receiver mail adapter ?

/people/michal.krawczyk2/blog/2005/11/23/xi-html-e-mails-from-the-receiver-mail-adapter

Thanks

Dushanth

justin_santhanam
Active Contributor
0 Kudos

Dushant,

You need to download the Xsd and use it as target message. Since Mail is ur reciever , it has to be in target structure.

Best regards,

raj.

Former Member
0 Kudos

HI Raj

I have imported xsd from that location and used as my target.

My question is

1. I have used the same code given by michal

code:

<?xml version='1.0' ?>

<xsl:stylesheet version='1.0' xmlns:xsl="http://www.w3.org/1999/XSL/Transform">

<xsl:template match="/">

<html>

<body bgcolor="lawgreen">

</body>

<p>

<strong>SDN weblog</strong>

</p>

<p>

<ol>

<xsl:for-each select="file_SDN/recordset/data/line">

<li value="0">

<xsl:value-of select="."/>

</li>

</xsl:for-each>

</ol>

</p>

</html>

</xsl:template>

</xsl:stylesheet>

when I save this code as .html I am not getting same color (Light green) page and

1. this is the first line

2. this is the secone line

3. this is the third line

and I am getting blue color page with serial number 1.

pls check my screen shot

http://www.flickr.com/photo_zoom.gne?id=1052539279&size=o

Pls help

Thanks

dushanth

justin_santhanam
Active Contributor
0 Kudos

Dushant,

U made mistake in the color code. Change it to "Lawngreen" . U have given as "Lawgreen". If you give Lawgreen - we will get blue color only. I checked it browser.

Best regards,

raj.

Former Member
0 Kudos

Thanks Raj, I have changed to "lawn green" and got the same color

But

I am not getting what Michal was getting (the 3 lines) in that page

1. this is the first line

2. this is the secone line

3. this is the third line

these three lines in that, Any idea why its not displaying ?

Thanks

dushanth

Former Member
0 Kudos

Hi Raj,

In XLS_TOOL , I have entered following code

<xsl:transform version="1.0"

xmlns:xsl="http://www.w3.org/1999/XSL/Transform"

xmlns:sap="http://www.sap.com/sapxsl"

>

<xsl:strip-space elements="*"/>

<xsl:template match="/">

<html>

<body bgcolor="lawngreen">

</body>

<p>

<strong>SDN weblog</strong>

</p>

<p>

<ol>

<xsl:for-each select="file_SDN/recordset/data/line">

<li value="0">

<xsl:value-of select="."/>

</li>

</xsl:for-each>

</ol>

</p>

</html>

</xsl:template>

</xsl:transform>

For my Code Pls click this link

http://www.flickr.com/photo_zoom.gne?id=1054023704&size=o

when I execute , the page goes to XSLT tester--> F8--


> I am getting

WRONG PARAMETER: FILE_NAME

Pls corret my understanding.....

here xml has to be transformed to html then html will be send using receiver mail adapter to the email ID.

Pls help

thanks

dushanth

Message was edited by:

dushanth ry

justin_santhanam
Active Contributor
0 Kudos

Dushanth,

Let me clarify something.

- Are u creating .xls and using in mapping as imported archive?

- In Michal's blog which case are u working on , Case 1 or Case 2

Best regards,

raj.

Former Member
0 Kudos

Hi

In XLS_TOOL , I have entered following code

For my Code Pls click this link

http://www.flickr.com/photo_zoom.gne?id=1054023704&size=o

when I execute , the page goes to XSLT tester--> F8--


> I am getting

WRONG PARAMETER: FILE_NAME

Pls corret my understanding.....

here xml has to be transformed to html then html will be send using receiver mail adapter to the email ID.

Pls help

thanks

dushanth