Koozali.org: home of the SME Server

Webmail Viewing HTML

Offline harshl

  • **
  • 32
  • +0/-0
Webmail Viewing HTML
« Reply #15 on: January 10, 2007, 04:19:53 AM »
My guess is that IMP components were upgraded between RC1 and Prod of 7.1. I have added some Horde components, but none of them would add options to IMP that I am aware of anyway.
Here is a list of all the Horde modules I am running and their versions:

Turba 2.1.3
Trean 0.1-cvs
Kronolith 2.1.4
Ingo 1.1.2
Horde 3.1.3
Imp 4.1.3
Mnemo 2.1.1
Nag 2.1.2
Wicked 0.1-cvs

I would imagine the options I posted earlier come directly from the Imp module as it would not seem to rely on any of the other components except the framework.

Hope you can find a solution.

-Landon
-Landon

Offline Agent86

  • *****
  • 592
  • +0/-0
    • http://www.iclbiz.com
Shouldn't an update give me those options
« Reply #16 on: January 10, 2007, 02:32:08 PM »
Shouldn't an update give me those options ?

The SME main page indicates that SME 7.1 RC1 is the current version ?
Is that not the case ?

I've installed the, Mnemo,Kronolith,Nag,Gollem RPM's which worked perfectly

Would I be able to update to get these options ?

I may try also the other edits since Charlie indicated that it would not get broken during updates etc. ?

But I would like those other options really now that  I know about them ?

Please advise if anyway to update for those features or do I need fresh install of the latest SME

Offline harshl

  • **
  • 32
  • +0/-0
Webmail Viewing HTML
« Reply #17 on: January 10, 2007, 07:32:03 PM »
My server manager console does not say RC1 anywhere, nor should it. RC stands for release candidate, and is a pre-production release.
I waited until 7.1 production to upgrade my server. I never used any of the release candidates, though I understand they were very stable.
-Landon

Offline Agent86

  • *****
  • 592
  • +0/-0
    • http://www.iclbiz.com
SME 7.1
« Reply #18 on: January 10, 2007, 07:45:50 PM »
Well I'm probably just confused then.
Basically I went to smeserver.org and clicked on download and what I saw at the top of the page, which is still there, stating that RC1 is the current version

And further tells you to go to the mirrors to download etc.

When I downloaded from there I assumed that what I got was RC1 but maybe thats not what I have ?

When you click onto one of the download mirrors it does not say anything about RC1 next to the ISO's, so anyhow whatever version is listed there that is what I have

So in that version from what your telling me is that I should have those options available to me ?

Can I tell if I should have those options or not ?
And can anyone  else confirm that they have these options available ?

Please confirm and advise
Thanks

Offline psoren

  • *
  • 371
  • +0/-0
Re: HTML
« Reply #19 on: January 10, 2007, 08:01:13 PM »
Quote from: "CharlieBrady"


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


Charlie,

Is it possible to template just that one line in the file /home/httpd/html/horde/imp/config/mime_drivers.php, where:

$mime_drivers['imp']['html']['inline'] = false;

Needs to be:

$mime_drivers['imp']['html']['inline'] = true;

or would it need to be the whole file? I am concerned if there is any changes in that file in case of version upgrades and then the template could brake things instead.

Per

Offline mrjhb3

  • *
  • 1,188
  • +0/-0
    • John Bennett Services
Re: HTML
« Reply #20 on: January 10, 2007, 08:10:20 PM »
Quote from: "psoren"
Quote from: "CharlieBrady"


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


Charlie,

Is it possible to template just that one line in the file /home/httpd/html/horde/imp/config/mime_drivers.php, where:

$mime_drivers['imp']['html']['inline'] = false;

Needs to be:

$mime_drivers['imp']['html']['inline'] = true;

or would it need to be the whole file? I am concerned if there is any changes in that file in case of version upgrades and then the template could brake things instead.

Per


If you look in /etc/e-smith/templates/home/httpd/html/horde/imp/config, you will see that mime_drivers is not templated.  So, if you currently want to have this ability, you will have to change it on the main file.  And yes, if a new version comes out, your changes will be overwritten.  I had thought about templating this file, but didn't do it.  If you feel this is a real need, then open a NFR ticket and maybe it will get done.  Or, you could template it yourself and submit the changes.

John Bennett
......

Offline mrjhb3

  • *
  • 1,188
  • +0/-0
    • John Bennett Services
Webmail Viewing HTML
« Reply #21 on: January 10, 2007, 08:13:28 PM »
Quote from: "harshl"
My guess is that IMP components were upgraded between RC1 and Prod of 7.1.
-Landon


No, the imp components were upgraded between 7.0 and 7.1 RC1.

John Bennett
......

Offline Agent86

  • *****
  • 592
  • +0/-0
    • http://www.iclbiz.com
Well I don't have the options
« Reply #22 on: January 14, 2007, 03:13:54 AM »
The suggestion to
 ---preview option under Imp Options.

I may be missing something but I do not appear to have those options
In 7.1 fresh install and fully updated

Please advise
Thanks

Offline mrjhb3

  • *
  • 1,188
  • +0/-0
    • John Bennett Services
Re: Well I don't have the options
« Reply #23 on: January 14, 2007, 03:28:19 AM »
Quote from: "Agent86"
The suggestion to
 ---preview option under Imp Options.

I may be missing something but I do not appear to have those options
In 7.1 fresh install and fully updated

Please advise
Thanks


If you are running sme 7rc1 or > you have those options.

cd /home/httpd/html/horde/imp/config
pico -w mime_drivers.php
change line 59

If you still don't see this, then verify the version of imp you have installed, by doing this;

more /home/httpd/html/horde/imp/lib/version.php

My Output:
<?php define('IMP_VERSION', 'H3 (4.1.3)') ?>

John
......

Offline Agent86

  • *****
  • 592
  • +0/-0
    • http://www.iclbiz.com
Just to be sure
« Reply #24 on: January 14, 2007, 04:44:06 PM »
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.


I thought this was referring to these options that should be found in the webmail interface, oop sorry about that.

Just to be sure I'm talking about the same options etc. ? this is what I was refering to, however this may overlap the subject ?

I believe this thread has split into 2 subjects and is probably my fault for not being more clear about which subject I'm talking about.

1.html viewing and image viewing in the email body by default
2.another poster suggested these that I have quoted options which will also work for me.

I'm not sure which subject is related to the suggestions regarding: cd /home/httpd/html/horde/imp/config  etc.

In any case I do have these files and understand or at least I believe that for both subjects I need to use the command line and not the webmail interface to locate these options and edit ?

Please confirm this and also which subject the cd /home/httpd/html/horde/imp/config  is refering to ?

Thanks again for all he help.


Thanks
Steve

Please confirm ?
Thanks

Offline Agent86

  • *****
  • 592
  • +0/-0
    • http://www.iclbiz.com
Dimp is cool
« Reply #25 on: January 18, 2007, 03:28:44 AM »
Quote from: "harshl"
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.


Dimp looks nice but unreleased, I'll have to wait, but very cool looking and nice features

Offline Agent86

  • *****
  • 592
  • +0/-0
    • http://www.iclbiz.com
So html in a PANE ?
« Reply #26 on: January 18, 2007, 03:47:18 AM »
Quote from: "harshl"
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.


Thanks so that will get me an extra PANE for viewing the emails or that will only let me view the html in the body of the email ?

Please advise and thanks