Koozali.org: home of the SME Server

Webmail Viewing HTML

Offline Agent86

  • *****
  • 592
  • +0/-0
    • http://www.iclbiz.com
Webmail Viewing HTML
« on: January 04, 2007, 03:50:54 AM »
Hi

I was only curious how to get the mail to view html always by default

I seem to only see text with either the html attachment in the text area or the header, however never viewed in the actual email

I noticed you can block html or allow html if the sender is in my address book, but not full time by default
I want to view html full time no blocking ?

Unless I'm missing something, can someone please clarify this topic ?

Thanks

Offline cactus

  • *
  • 4,880
  • +3/-0
    • http://www.snetram.nl
Re: Webmail Viewing HTML
« Reply #1 on: January 04, 2007, 08:42:22 AM »
Quote from: "Agent86"
Hi

I was only curious how to get the mail to view html always by default

I seem to only see text with either the html attachment in the text area or the header, however never viewed in the actual email

I noticed you can block html or allow html if the sender is in my address book, but not full time by default
I want to view html full time no blocking ?

Unless I'm missing something, can someone please clarify this topic ?

Thanks
This seems like a question not related to SME Server nor to it's contribs, but more about your mail reader.

If I am wrong and it is for the webmail interface you might have to alter some configuration settings in the horde config files probably. They might be templated (read the developer guide on how to alter configuration settings in templated configuration files) and I guess the layout of the configuration file and it's keywords will be on the horde site.
Be careful whose advice you buy, but be patient with those who supply it. Advice is a form of nostalgia, dispensing it is a way of fishing the past from the disposal, wiping it off, painting over the ugly parts and recycling it for more than its worth ~ Baz Luhrmann - Everybody's Free (To Wear Sunscreen)

Offline Agent86

  • *****
  • 592
  • +0/-0
    • http://www.iclbiz.com
Webmail and HTML
« Reply #2 on: January 04, 2007, 02:46:01 PM »
Hi and thanks

This is actually to do with the base SME 7.1

When in the webmail interface and opening an email,
The body of the email is not displaying any html. There is many adjustments in the options section for how email is viewed/displayed, such as block html altogether or to view html if the sender is in the addressbook.
But what about viewing html by default ? And not just when the user being in the addressbook?
When you read thru the help files within Horde and other sections of the forum there is no real discussion on why you can't seem to allow html in webmail by default or how to do it ?

Is anyone else able to view html in webmail in the body of the email or do they always have to click on the attachment ?

Any help on this would be great.

Offline teranic

  • **
  • 21
  • +0/-0
Webmail Viewing HTML
« Reply #3 on: January 04, 2007, 11:03:15 PM »
.........

Offline Agent86

  • *****
  • 592
  • +0/-0
    • http://www.iclbiz.com
Webmail HTML
« Reply #4 on: January 05, 2007, 02:32:45 PM »
Hi thanks

I will try that,

I wonder why there is not a check box or button for this ?

Offline Agent86

  • *****
  • 592
  • +0/-0
    • http://www.iclbiz.com
Webmail Pane
« Reply #5 on: January 05, 2007, 08:26:54 PM »
Hi

In Webmail is there a way to have a email body view pane below the email list as with most email clients ?

Like a sort of view pane thing like in thunderbird but only in webmail ?

Offline harshl

  • **
  • 32
  • +0/-0
Webmail Viewing HTML
« Reply #6 on: January 08, 2007, 03:25:54 AM »
Not that I am aware of in IMP. You might want to check out DIMP found here:
http://www.horde.org/dimp/
I have not looked into it myself, but it may have the option you are looking for and fits nicely into the HORDE framework.
-Landon

Offline Agent86

  • *****
  • 592
  • +0/-0
    • http://www.iclbiz.com
Dimp
« Reply #7 on: January 08, 2007, 04:17:55 AM »
Yes as far as viewing html in a pane I think your right about that, Dimp may be the answer.

But what about viewing html in the body of my emails by default ?

Please advise if this can be done ?

Offline harshl

  • **
  • 32
  • +0/-0
Webmail Viewing HTML
« Reply #8 on: January 08, 2007, 04:54:49 AM »
Sorry about that, I meant to mention that also and got side tracked.
You will need to set up a custom template based on the following built-in template:
/etc/e-smith/templates/home/httpd/html/horde/config/mime_drivers.php/160html
Then create another custom template which does not have a base template:
mkdir -p /etc/e-smith/templates-custom/home/httpd/html/horde/imp/config/mime_drivers.php/
create a custom template file in here with the following data:
/**
 * HTML driver settings
 */
$mime_drivers['imp']['html']['inline'] = false;
$mime_drivers['imp']['html']['handles'] = array(
    'text/html');
$mime_drivers['imp']['html']['icons'] = array(
    'default' => 'html.png');
/* If you don't want to display the link to open the HTML content in a
 * separate window, set the following to false. */
$mime_drivers['imp']['html']['external'] = true;

You want to set html inline to true in each of these files.
That should get you there. If you don't want to test with templates edit /home/httpd/html/horde/ directly, but realize you will loose those changes next time the server is updated/configured. Templates are great!

Here is a Horde reference for inline html:
http://www.horde.org/imp/docs/?f=INSTALL.html

Good luck.
-Landon

Offline Agent86

  • *****
  • 592
  • +0/-0
    • http://www.iclbiz.com
HTML
« Reply #9 on: January 08, 2007, 05:19:17 PM »
Thats what I was afraid of

I don't think I'll tackle that just yet, unless there is some way for me to add that to my installation or re-installation disk I don't want to have to do this every year or every update

Thanks
Steve

Offline harshl

  • **
  • 32
  • +0/-0
Webmail Viewing HTML
« Reply #10 on: January 10, 2007, 12:16:02 AM »
I realize this is not exactly what you are looking for, but I just noticed in the version of the Imp software included with SME 7.1 there is a preview option under Imp Options.
I currently have mine set to the following and I am liking it though I know not all users will:

Enable message previews - yes
Characters to display - all
Strip line breaks - yes
Show previews for unread messages only - yes
Show previews in tooltips - yes (I really like this!)

This will show a preview of the message body when the user hovers their mouse over the subject of an unread message.

Hope it helps.
-Landon

Offline del

  • *
  • 765
  • +0/-0
Webmail Viewing HTML
« Reply #11 on: January 10, 2007, 01:30:29 AM »
Hi Agent86,

I followed this howto:

http://sme.swerts-knudsen.dk/index.html?frame=http%3A//sme.swerts-knudsen.dk/howtos/howto_3.htm

Seems to work OK and is quite easy. :D

Del
If at first you don't succeed, then sky-diving is not for you!
"Life is like a coin. You can spend it anyway you wish, but you can only spend it once." --Author Unknown

Offline harshl

  • **
  • 32
  • +0/-0
Webmail Viewing HTML
« Reply #12 on: January 10, 2007, 01:39:56 AM »
I could be wrong, but I believe that howto will work until Imp is updated and that file is potentially replaced and not rebuilt from templates.

In fact, I am relatively certain it is overwritten during the upgrade from 7.0 to 7.1.

One would just need to remember that and verify it manually after each horde/imp upgrade.
-Landon

Offline Agent86

  • *****
  • 592
  • +0/-0
    • http://www.iclbiz.com
Sounds Cool
« Reply #13 on: January 10, 2007, 03:25:34 AM »
Quote from: "harshl"
I realize this is not exactly what you are looking for, but I just noticed in the version of the Imp software included with SME 7.1 there is a preview option under Imp Options.
I currently have mine set to the following and I am liking it though I know not all users will:

Enable message previews - yes
Characters to display - all
Strip line breaks - yes
Show previews for unread messages only - yes
Show previews in tooltips - yes (I really like this!)

This will show a preview of the message body when the user hovers their mouse over the subject of an unread message.

Hope it helps.


Thanks to everyone for all the helpful tips
I may try those editing topics on a test server later or perhaps wait to see if may become available in later updates


As far as those selections you suggested above, they sound great, and would work perfectly, but I don't seem to have all those selections in options, I've search all over the options sections and only came across the (message viewing) section which allows to Block HTML or to allow html when the sender is in my addressbook .Could not seem to find those you've mentioned, I wish I could it would be nice.
The preview in tooltip one I can see being very nice since I can hover over the subject line and a tooltip window currently displays  the subject which is already visible in my email list but I can see the potention to view something else if that were available

Please advise on this subject further and FYI I'm using a fresh install of SME 7.1 RC1
I would love to use those features you've mentioned above

Thanks
Steve

Offline CharlieBrady

  • *
  • 6,918
  • +3/-0
Re: HTML
« Reply #14 on: January 10, 2007, 04:17:51 AM »
Quote from: "Agent86"

I don't think I'll tackle that just yet, unless there is some way for me to add that to my installation or re-installation disk I don't want to have to do this every year or every update


Custom templates are not overwritten during upgrade/update, and are included in backups.