Download Mail - HTML Anomaly?

By Perchpole - October 8, 2010

Hello, All -

I've just started using Download Mail and I'm very impressed with the results. The only issue concerns the HTML field.

If my email message contains the line Hello World! it appears on the page as normal. However, if you look at the page source code it reveals this...

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content="text/html; charset=iso-8859-1" http-equiv=Content-Type>
<META name=GENERATOR content="MSHTML 8.00.6001.18943">
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT size=2 face=Arial>Hello World!</FONT></DIV></BODY></HTML>


What makes this all the more puzzling is that the "HTML source" view in the editor window shows only this...

<style></style>
<div><span style="font-family: Arial; font-size: x-small;">Hello World!</span></div>


What's going on?!

:0o

Perchpole

Re: [Perchpole] Download Mail - HTML Anomaly?

By Jason - October 8, 2010

Hi Perch,

I think what this is a quirk of tinyMCE. There are certain tags that they don't display in the HTML source. For example, I tried a similar test and tinyMCE didn't display <HTML> tags, but they were there when I outputted the HTML. As long as everything is displaying properly, I wouldn't worry too much about it.

Hope this helps.
---------------------------------------------------
Jason Sauchuk - Project Manager
interactivetools.com

Hire me! Save time by getting our experts to help with your project.
http://www.interactivetools.com/consulting/

Re: [Jason] Download Mail - HTML Anomaly?

By Perchpole - October 8, 2010

Oh!

Surely multiple instances of <HTML><HEAD> and <BODY> tags can't be good!

:0/

Perchpole

Re: [Perchpole] Download Mail - HTML Anomaly?

By Dave - October 8, 2010

Hi Perchpole,

Can you tell me the step to reproduce this issue so I can test it?

Thanks!
Dave Edis - Senior Developer
interactivetools.com

Re: [Dave] Download Mail - HTML Anomaly?

By Perchpole - October 8, 2010

Hi, Dave -

There was no step. I'm using everything "as it comes".

I'm using the default table and editor set-up - as well as the code on the output page.

I installed and activated the plugin and started sending emails.

What I've hi-lighted is the result. I haven't changed anything at all.

:0/

Perch

Re: [Perchpole] Download Mail - HTML Anomaly?

By Dave - October 8, 2010

Hi Perch,

So are you manually creating the email with your browser? If so which browser? Or are you copying and pasting the content from anywhere else? And then you are sending the email and receiving it in Outlook?

I want to duplicate the steps locally to see if I can duplicate the issue.

Thanks!
Dave Edis - Senior Developer
interactivetools.com

Re: [Dave] Download Mail - HTML Anomaly?

By Perchpole - October 8, 2010

Ah. Ok.

The email is sent via Windows Mail. The page (source code) is viewed in Chrome.

Hope this helps.

:0)

Perch

Re: [Perchpole] Download Mail - HTML Anomaly?

By Dave - October 11, 2010

Ahh, I see. Ok my guess is that Windows Mail is constructing a full HTML document and that's what we're getting in the wysiwyg field (and with any viewers you are displaying it in).

If you need we could write a line of code for you to remove the HTML head and just leave the contents of the HTML body.

The other option, if displaying it on a viewer page, would be to show it in an iframe or something like that where it would make sense to have a full HTML document.

Hope that helps!
Dave Edis - Senior Developer
interactivetools.com

Re: [Dave] Download Mail - HTML Anomaly?

By Perchpole - October 11, 2010

Hi, Dave -

I don't think we can write this off as a Windows Mail issue quite so easily! Over the weekend the system has received messages from other email software - and a webmail account - and in each instance the HTML, HEAD and BODY tags are always present.

:0/

Perch

Re: [Perchpole] Download Mail - HTML Anomaly?

By Dave - October 11, 2010

Right, so any html email client will essentially construct a full web page for the email.

How would you like it to be? We could add the option to strip the header off on receipt of the message, or if you are displaying the messages in a viewer we could do it there.
Dave Edis - Senior Developer
interactivetools.com