Gossamer Forum
Home : Products : Gossamer Mail : Discussion :

View As HTML -- In msgs_body.htm

Quote Reply
View As HTML -- In msgs_body.htm
Hi,

Say a user sends a mail from any interface in txt mode and pastes HTML content in the mail. The GM user would see all HTML code while viewing the message.

Now for such messages is it possible to have a "View As HTML" in msgs_body.htm (conditionally -- only for such messages) which lets a user view the same as HTML message. Or is it that this is not possible at all.

Thnx

Anup
Quote Reply
Re: [anup123] View As HTML -- In msgs_body.htm In reply to
Hi,

No, not as is, that's not possible. Also, you would want to be careful with allowing that as it wouldn't go through our code that strips out bad HTML.

Cheers,

Alex
--
Gossamer Threads Inc.
Quote Reply
Re: [Alex] View As HTML -- In msgs_body.htm In reply to
Hi Alex,

The nessa template has following code:
Code:

<td> <%unless is_ie5%> <input type="checkbox" name="compose_is_html" tabindex="5" value="1"<%if compose_is_html%> checked<%endif%>> Send as HTML<br><%endif%> </td>

So in case of a non ie browser, this checbox would appear. What if a user pastes the html code and forgets to check the box, the user (i would preferrably restrict the usage if that term to GM user) would see all HTML while viewing the message.

It was with this in mind that I had asked whether this would be possible?

Thnx
Anup