[pmmail-list] text/plain email
panamerica334@uni.de
pmmail-list@blueprintsoftwareworks.com
Sun, 11 Aug 2002 19:09:09 +0200
i felt sorry about that this posting was dropped completely undiscussed - it seems to me, it solves the problem quite well:
>The correct behaviour is quite simple:
>- If there is no mime header (simple old-fashioned pain text email)
> PMMail should display the email with no changes whatsoever besides
> the character set. Embedded HTML is displayed as text.
>
>- If there is a mime mail header PMMail, depending on a configurable setting,
> display the text/plain or the text/html part (if there is one).
>
>Markus
or, in ugly pseudocode (slightly modified):
if (headerpresent)
{
if (enableDisplayOfHTMLMails && (mime == text/html))
displayAsRenderedHTML()
else
{
if (enableHTMLTagInterpreter)
displayAsRenderedHTML()
else
displayAsPlainText()
}
}
else
{
if (enableHTMLTagInterpreter)
displayAsRenderedHTML()
else
displayAsPlainText()
}
so you can switch:
- enableDisplayOfHTMLMails: if mime is text/html display as HTML, otherwise look for default behaviour:
- enableHTMLTagInterpreter: mime is not text/html or !enableDisplayOfHTMLMails; so if true: render anyway or false: display as pure plain text
scoop
____________________________________________________________
The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please contact the sender and delete the material from any computer.
- pmmail-list - The PMMail Discussion List ---------------------------
To POST to the list, send your message to:
pmmail-list@blueprintsoftwareworks.com
To UNSUBSCRIBE, send a message to mdaemon@bmtmicro.com
with the first line of the message body being...
UNSUBSCRIBE pmmail-list@blueprintsoftwareworks.com
---------------------------------------------------------------------