PDA

View Full Version : Problem with XSLT and Send Mail


AndyFarr
08-12-2004, 09:18 AM
I am using the Transform XML Log to generate an HTML file from a xml file.

The resultant HTML appears to be Unicode encoded file

When this file is sent via the Send EMail The MIME header is saying it is 7bit encoded and so the HTML is corrupted at its destination.

Has anyone else experienced this.

Andy Farr

kinook
08-12-2004, 10:42 AM
Using the standard TransformLog.xslt stylesheet with the Transform XML Log action, the resulting HTML file will be UTF-8 encoded (without a byte order mark). If this file is attached in a Send Mail message, it will be 7bit encoded in a message part. The mail reader program should be able to unencode and write the attached file in its original UTF-8 encoding, which your web browser should be able to display properly.

I've attached a sample that we've used in our testing, and using Outlook Express 6 as the mail reader, and IE6 or Firefox 0.9 as the web browser, upon receiving the message, the attached HTML document was displayed properly in the browsers (some languages may not display correctly depending on whether your font supports them).

If this is not working correctly for you, please post (or send to support@kinook.com):

1) The info from Help | About | Install Info
2) The mail reading software and version you are receiving the message with
3) The browser and version you are viewing the HTML page with
4) The 'before' and 'after' versions of the HTML file (the file as generated by the Transform XML Log action, and the file as saved from the received message).
5) The .bld file containing the Send Mail step that sends the message.