Koozali.org: home of the SME Server
Obsolete Releases => SME Server 7.x => Topic started by: Agent86 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
-
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.
-
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.
-
http://forums.contribs.org/index.php?topic=34076.0
-
Hi thanks
I will try that,
I wonder why there is not a check box or button for this ?
-
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 ?
-
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.
-
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 ?
-
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.
-
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
-
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.
-
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
-
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.
-
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
-
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.
-
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
-
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
-
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.
-
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
-
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
-
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
-
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
-
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
-
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
-
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
-
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
-
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