[imp] Verifying which fix was implemented to get inline HTML in web mail

John C Payne john at pde-usa.net
Wed Nov 25 02:47:03 UTC 2015


  Thanks for your ongoing assistance.

Agree configuration file is "bad".  I will check to see where we stand.
 Several things have been tried.

This link (which I think is the good
link): http://www.horde.org/apps/imp/docs/INSTALL  leads to the
following:

  Configuring IMP

  You must login to Horde as a Horde Administrator to finish the
configuration of IMP. Use the Horde Administration menu item to get to
the administration page, and then click on the Configuration icon to get
the configuration page. Select Mail from the selection list of
applications. Fill in or change any configuration values as needed. When
done click on Generate Mail Configuration to generate
the conf.php file. If your web server doesn't have write permissions to
the IMP configuration directory or file, it will not be able to write the
file. In this case, go back to Configuration and choose one of the other
methods to create the configuration file imp/config/conf.php.

  Documentation on the format and purpose of the other configuration files
in the config/ directory can be found in each file. You may
create *.local.phpversions of these files if you wish to customize IMP's
appearance and behavior. See the header of the configuration files for
details and examples. The defaults will be correct for most sites.


   *
    By default, IMP is configured to NOT display text/html message parts
inline. This is done for various security reasons. If you would like to see
text/html parts inline, you must create
a imp/config/mime_drivers.local.php file (or add to the existing
mime_drivers.local.php file) with the following content:
<?php$mime_drivers['html']['inline'] = true;

  I think, that is why I am verifying, that the instructions were followed
in one of our attempts and did not work.

I copied the support staff in on this email since they have to do the work.

Quoting imp-request at lists.horde.org:

> Send imp mailing list submissions to
>         imp at lists.horde.org
>
> To subscribe or unsubscribe via the World Wide Web, visit
>         http://lists.horde.org/mailman/listinfo/imp
> or, via email, send a message with subject or body 'help' to
>         imp-request at lists.horde.org
>
> You can reach the person managing the list at
>         imp-owner at lists.horde.org
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of imp digest..."
>
> Today's Topics:
>
>   1. Re: Still no inline HTML email (Mauricio Jose T. Tecles)
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Sun, 22 Nov 2015 10:31:34 -0200
> From: "Mauricio Jose T. Tecles" <mtecles at biof.ufrj.br>
> To: imp at lists.horde.org
> Subject: Re: [imp] Still no inline HTML email
> Message-ID:
>        
> <20151122103134.Horde.5SbSY22X6n_dpuQoDUIDwQ2 at webmail.biof.ufrj.br>
> Content-Type: text/plain; charset=UTF-8; format=flowed; DelSp=Yes
>
> ----- Mensagem de John C Payne <john at pde-usa.net> ---------
>           Data: Sat, 21 Nov 2015 22:01:36 -0500
>             De: John C Payne <john at pde-usa.net>
> Responder para: john at pde-usa.net
>        Assunto: [imp] Still no inline HTML email
>           Para: imp at lists.horde.org
>
>> The engineers at my ISP followed the instructions in the updated wiki
and
>> still no inline HTML email.?
>>
>> Any other thoughts?
>
> Have they followed IMP install doc (3 Configuring IMP,
> http://www.horde.org/apps/imp/docs/INSTALL) instead?
> Read again the thread bellow. As far as I can tell by this thead, you
> have an error in your configuration file.
> Did they correct that setting (see Jan's and my answer bellow)?
>
> Mauricio
>
>> Thanks
>>
>> Quoting imp-request at lists.horde.org:
>>
>>> Send imp mailing list submissions to
>>> ? ? ? ? imp at lists.horde.org
>>>
>>> To subscribe or unsubscribe via the World Wide Web, visit
>>> ? ? ? ? http://lists.horde.org/mailman/listinfo/imp
>>> or, via email, send a message with subject or body 'help' to
>>> ? ? ? ? imp-request at lists.horde.org
>>>
>>> You can reach the person managing the list at
>>> ? ? ? ? imp-owner at lists.horde.org
>>>
>>> When replying, please edit your Subject line so it is more specific
>>> than "Re: Contents of imp digest..."
>>>
>>> Today's Topics:
>>>
>>> ? 1. Re: HTML in Web Mail (Mauricio Jose T. Tecles)
>>> ? 2. Re: Folder names with tilde character (Jan Schneider)
>>>
>>> ----------------------------------------------------------------------
>>>
>>> Message: 1
>>> Date: Thu, 19 Nov 2015 18:59:01 -0200
>>> From: "Mauricio Jose T. Tecles" <mtecles at biof.ufrj.br>
>>> To: imp at lists.horde.org
>>> Subject: Re: [imp] HTML in Web Mail
>>> Message-ID:
>>> ? ? ? ?
>>> <20151119185901.Horde.jh4wewvoWKG9VECPLaAoPw1 at webmail.biof.ufrj.br>
>>> Content-Type: text/plain; charset=UTF-8; format=flowed; DelSp=Yes
>>>
>>> ----- Mensagem de Arjen de Korte <arjen+horde at de-korte.org> ---------
>>> ? ?Data: Thu, 19 Nov 2015 21:15:49 +0100
>>> ? ? ?De: Arjen de Korte <arjen+horde at de-korte.org>
>>> Assunto: Re: [imp] HTML in Web Mail
>>> ? ?Para: imp at lists.horde.org
>>>
>>>> Citeren Jan Schneider <jan at horde.org>:
>>>>
>>>>> Zitat von John C Payne <john at pde-usa.net>:
>>>>>
>>>>>> I am trying, without sauces, to enable HTML web mail display inline.
>>>>>> Version 5.6.2
>>>>>>
>>>>>> This is copied from the Administrator FAQ. The changes needed to
>>
>> enable
>>>>>> HTML web mail:
>>>>>>
>>>>>> $mime_drivers['imp']['html']['inline'] = true; // for
>>>>>
>>>>> Such a setting doesn't exist.
>>>>
>>>> John copied this from the Wiki
>>>> (http://wiki.horde.org/FAQ/Admin/Config). I updated this to the
>>>> correct setting minutes ago.
>>>
>>> Take a look at IMP INSTALL doc (2.Configuring IMP):
>>>
>>> http://www.horde.org/apps/imp/docs/INSTALL
>>>
>>> $mime_drivers['html']['inline'] = true;
>>>
>>> Mauricio
>>>
>>>>>> horde/config/mime_drivers.local.php
>>>>>> $mime_drivers['html']['inline'] = true;??????? // for
>>>>>> horde/imp/config/mime_drivers.local.php
>>>>>
>>>>> This correct, in both horde and imp.
>>>>>
>>>>>> This change allowed text and links to be shown. Some progress but
not
>>>>>> much.
>>>>>>
>>>>>> I checked the Archive and found the following suggestion(excerpt
from
>>
>> a
>>>>>> long dsiscussion):
>>>>>>
>>>>>> <?php
>>>>>> $mime_drivers['html']['inline'] = true;??????? // for
>>>>>> horde/imp/config/mime_drivers.local.php
>>>>>>
>>>>>> Nothing happened.
>>>>>> Some of the following information may be useful. My ISP is running
>>>>>> Linux;
>>>>>> Apache 2.2.25; PHP: 5.3.27; Pearl: 5.8.8;cPanel Pro 1.0 (RC1) and
>>
>> MySql
>>>>>> 5.1.73-cii. ?web Browser is latest version of Chrome.?
>>>>>> Thanks for your assistance.
>>>>>> John C Payne
>>>>>> 630-815-2989
>>>>>> www.pde-usa.net[1][1]
>>>>>> ?
>>>>>> --
>>>>>> imp mailing list
>>>>>> Frequently Asked Questions: http://wiki.horde.org/FAQ
>>>>>> To unsubscribe, mail: imp-unsubscribe at lists.horde.org
>>>>>
>>>>> --
>>>>> Jan Schneider
>>>>> The Horde Project
>>>>> http://www.horde.org/
>>>>>
>>>>> --
>>>>> imp mailing list
>>>>> Frequently Asked Questions: http://wiki.horde.org/FAQ
>>>>> To unsubscribe, mail: imp-unsubscribe at lists.horde.org
>>>>
>>>> --
>>>> This message was sent from a mailinglist subscription address.
>>>> For off-list replies, you must remove the address extension.
>>>>
>>>> --
>>>> imp mailing list
>>>> Frequently Asked Questions: http://wiki.horde.org/FAQ
>>>> To unsubscribe, mail: imp-unsubscribe at lists.horde.org
>>>
>>> ----- Final da mensagem de Arjen de Korte <arjen+horde at de-korte.org>
>>
>> -----
>>> Maur?cio Jos? T. Tecles
>>> N?cleo de Inform?tica
>>> Instituto de Biof?sica Carlos Chagas Filho - UFRJ
>>> Av. Carlos Chagas Filho, 373
>>>
>>> mtecles at biof.ufrj.br
>>> Tel.: (21) 3938-6526 ou 3938-6544
>>>
>>> ------------------------------
>>>
>>> Message: 2
>>> Date: Thu, 19 Nov 2015 22:28:35 +0100
>>> From: Jan Schneider <jan at horde.org>
>>> To: imp at lists.horde.org
>>> Subject: Re: [imp] Folder names with tilde character
>>> Message-ID: <20151119222835.Horde.07at0jgEsrZ5KIH9vbAjPTF at neo.wg.de>
>>> Content-Type: text/plain; charset=utf-8; format=flowed; DelSp=Yes
>>>
>>> Zitat von Michael M Slusarz <slusarz at horde.org>:
>>>
>>>> Quoting Jan Schneider <jan at horde.org>:
>>>>
>>>>> Zitat von Michael M Slusarz <slusarz at horde.org>:
>>>>>
>>>>>> Quoting Jens Wahnes <wahnes at uni-koeln.de>:
>>>>>>
>>>>>>> After a very long search, I found out that this problem is caused
>>>>>>> by the code in the Horde_Imap_Client_Tokenize class, or more
>>>>>>> precisely the code within the "next" method on line 292 or so.
>>>>>>> There is a comment attached to the "case" statement in question
>>>>>>> which reads "Ignore binary string identifier. PHP strings are
>>>>>>> binary-safe", but even after reading quite a bit of the
>>>>>>> surrounding code, I fail to understand what is meant by that
>>>>>>> comment.
>>>>>>
>>>>>> It means that PHP doesn't care if a string contains NULLs, so we
>>>>>> are just discarding the ~ when it is part of the literal8
>>>>>> construction (since a NULL is treated as a single-byte character
>>>>>> for PHP string processing).
>>>>>>
>>>>>> RFC 6855 support is irrelevant here - literal8 is defined by
>>>>>> BINARY so this can be tested on a server that supports BINARY.
>>>>>> Thus, if you have a fix Jan you don't need access to a UTF-8
>>>>>> server to properly test.
>>>>>
>>>>> Okay, and when is BINARY used, so I have a use case where ~ *does*
>>>>> indicate binary strings? Any binary attachment?
>>>>
>>>> The only place where we would need to *parse* a literal8, is when
>>>> reading BODY data of a part.? I think we always try to do this, but
>>>> IIRC the server only has to send literal8 when the data both 1) is
>>>> 8bit an 2) contains NULs.? So you would have to artificially create
>>>> that kind of data to possibly receive the correct response.
>>>>
>>>> Regardless, UTF8 support isn't useful for testing since it only
>>>> defines literal8 for sending data in APPENDS (thus, no local parsing
>>>> needed).
>>>>
>>>> It's going to be much easier to write a unit test for this.? I'm
>>>> almost 100% positive there's a unit test dedicated to tokenization
>>>> of server response strings.? So test that these two strings are
>>>> parsed correctly:
>>>>
>>>> * 1 FETCH (BINARY[1] ~{1}
>>>> and
>>>> * LIST () "" "~foo"
>>>>
>>>> michael
>>
>>
http://github.com/horde/horde/commit/2cc3963358d08fe180db41a0bdeb2b7844bf47ac
>>> --
>>> Jan Schneider
>>> The Horde Project
>>> http://www.horde.org/
>>>
>>> ------------------------------
>>>
>>> Subject: Digest Footer
>>>
>>> --
>>> IMP mailing list
>>> Frequently Asked Questions: http://horde.org/faq/
>>> To unsubscribe, mail: imp-unsubscribe at lists.horde.org
>>>
>>> ------------------------------
>>>
>>> End of imp Digest, Vol 3881, Issue
1************************************
>>
>> Links:
>> ------
>> [1] http://www.pde-usa.net
>> John C Payne
>> 630-815-2989
>> www.pde-usa.net[1]
>> ?
>> --
>> imp mailing list
>> Frequently Asked Questions: http://wiki.horde.org/FAQ
>> To unsubscribe, mail: imp-unsubscribe at lists.horde.org
>> --
>> This mail was scanned by BitDefender
>> For more information please visit http://www.bitdefender.com/
>
> ----- Final da mensagem de John C Payne <john at pde-usa.net> -----
>
> Maur?cio Jos? T. Tecles
> N?cleo de Inform?tica
> Instituto de Biof?sica Carlos Chagas Filho - UFRJ
> Av. Carlos Chagas Filho, 373
>
> mtecles at biof.ufrj.br
> Tel.: (21) 3938-6526 ou 3938-6544
>
> ------------------------------
>
> Subject: Digest Footer
>
> --
> IMP mailing list
> Frequently Asked Questions: http://horde.org/faq/
> To unsubscribe, mail: imp-unsubscribe at lists.horde.org
>
> ------------------------------
>
> End of imp Digest, Vol 3884, Issue 1************************************



Links:
------
[1] http://www.pde-usa.net
  John C Payne
630-815-2989
www.pde-usa.net
 


More information about the imp mailing list