cancel
Showing results for 
Search instead for 
Did you mean: 

Problem in Mail Scenario

Former Member
0 Kudos

Hi,

I have configured a SAP --> PI --> Mail scenario with a receiver Mail Adapter. I have used the required mail message format for this interface.

When I try to execute the scenario using a Message Mapping it is executed successfully and a mail is received in the configured mailbox.

However when I try to execute the scenario using XSLT mapping I do not get any mail. In SXMB_MONI the processing is shown as successful. I need to use XSLT mapping as there is some HTML formatting that has to be done to the messsage.

Please tell me what could be the possible solution.

Thanks,

Abhishek

Accepted Solutions (1)

Accepted Solutions (1)

former_member200962
Active Contributor
0 Kudos

Hi,

The problem was in the Date format in the XSLT mapping....

One more doubt is inorder to display the message contents in HTML format what settings need to be done. I am getting the mail in a text format.

XSLT mapping:

<Mail>
<Subject>XYZ</Subject>
<From>Abhishek_at_xyz.com</From>
<To>Abhishek_at_xyz.com</To>
<Content_Type>plain/text</Content_Type>
<Content>
<html>
<body>
The required content with HTML tags for formatting
</body>
</html>
</Content>
</Mail>

I am getting the output in text format as:

<html><body>The required content with HTML tags for formatting</body></html>

Please provide solution to this.

Thanks,

Abhishek.

Former Member
0 Kudos

Need to set content type as text/HTML .

Try and know us.

Rajesh

Answers (3)

Answers (3)

former_member200962
Active Contributor
0 Kudos

Thanks Rajesh that solved my problem:)

former_member192295
Active Contributor
0 Kudos

Hi,

I think the problem is due to improper data from XSLT mapping to mail receiver structure, check it.

udo_martens
Active Contributor
0 Kudos

Hi Abhishek,

assumedly your XSLT mapping is not giving the expected message format for the mail adapter. Please havve a look to the communication channel monitoring to get more infos about the error.

Regards,

Udo