HTML vs Plain Text

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

HTML vs Plain Text

Coleen_Astalos
Is there a place in Nabble that the user can select whether they get the emailed messages (including digest) in HTML or Text format?   Or how is that designation made?  

I'm getting them in HTML, but making some changes to the digest_html and digest_text macros and want to see what the text version looks like.

Thanks
Coleen
Reply | Threaded
Open this post in threaded view
|

Re: HTML vs Plain Text

GregChapman
Currently, there is no option available to select to have plain text only.

What Nabble sends is what 99% of all email programs do: a plain text mail with an HTML attachment. Most modern email programs disregard the the plain text part and display only the attachment. That will be why you see only an HTML version of the message.

I would need the assistance of the Nabble Team to add the necessary code to make a plain text only option available. However, read on...

I hate HTML mail with a passion, but that debate's for elsewhere. What you may not be aware of is exactly what is sent to a user of plain text mail programs (like me), and some of this was added to the standard Nabble product at my request.

The plain text portion follows plain text convention and contains indicators of any bold or italic text used in the original post. /Italics/ are bracketed in slashes and *bold* is bracketed with asterisks. Neither the text nor HTML part of the message includes images or other attachments, rather they contain links to the files on Nabble's servers. In the plain text part the links to any files immediately follow the link text and also follow convention, being enclosed in angled brackets.

This means the mail that arrives at the user is typically only three times bigger than it might be and not hundreds of times, as it could be if files were attached to the mail sent.

Of course, how the links are handled depends entirely on the recipient's mail program. Some mail programs, and certainly all HTML mail programs on laptop/desktop computers will, by default, download the files at the links automatically. HTML aware programs on other platforms may not, especially those on handheld devices which are often used on expensive connections charged by the megabyte.

Plain text programs vary in their capability. Mine detects HTML attachments and allows me to view the HTML part in my browser, where embedded images will be downloaded and displayed. I can also click on the URLs in the plain text part in order to display individual images or other attached files in an appropriate editor or viewer program.

In short, I don't find the unnecessary overhead of the HTML attachment too much of a burden and have not felt the need to request an option to turn off the HTML attachment.
Volunteer Helper - but recommending that users move off the platform!
Once the admin for GregHelp now deleted.
Reply | Threaded
Open this post in threaded view
|

Re: HTML vs Plain Text

Coleen_Astalos
Thanks, that helps explain it.  I"m not going to worry about the plain text digest then and just assume that it's going to look similar to the HTML version I get (and it's what I expect most of my users who want email are seeing as well).
Thanks,
Coleen