[Tickets #8858] Mime part charset for html attachment

bugs at horde.org bugs at horde.org
Tue Feb 9 09:02:02 UTC 2010


DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.

Ticket URL: http://bugs.horde.org/ticket/8858
------------------------------------------------------------------------------
  Ticket             | 8858
  Created By         | patrick.guiran at linagora.com
  Summary            | Mime part charset for html attachment
  Queue              | IMP
  Version            | 4.3.2
  Type               | Enhancement
  State              | New
  Priority           | 1. Low
  Milestone          |
  Patch              | 1
  Owners             |
+New Attachment     | horde-webmail-1.2.4-lng2_patch-html-attachment.patch
------------------------------------------------------------------------------


patrick.guiran at linagora.com (2010-02-09 04:02) wrote:

When a user sends a mail with an HTML file as attachment, the HTML  
file can't be displayed correctly on mail readers program, due to lack  
of charset information in the MIME Part.

/!\ note /!\ The attached file is a patch for horde-webmail 1.2.4. It  
has been deployed in production context since 2 months without problem
  * $Horde: imp/lib/Compose.php,v 1.107.2.86 2009/07/29 06:04:42 slusarz Exp $
  * $Horde: framework/MIME/MIME/Magic.php,v 1.52.8.18 2009/01/06  
15:23:20 jan Exp $


use case test :
1/ compose a new mail with horde
2/ attach a html file with a charset specified
3/ send the mail
4/ receive the mail on a mail client (thunderbird, kmail, ...)
5/ open the attachment file without save it on disk

To check the html file charset, I use the "file" commande on Linux :

$ lsb_release -a
Distributor ID: Ubuntu
Description:    Ubuntu 9.10
Release:        9.10
Codename:       karmic

$ file --mime test.html
test.html: text/html; charset=iso-8859-1






More information about the bugs mailing list