[Tickets #4034] NEW: Vacation messages don't declare encoding

bugs@bugs.horde.org bugs at bugs.horde.org
Tue Jun 13 09:32:33 PDT 2006


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

Ticket URL: http://bugs.horde.org/ticket/?id=4034
-----------------------------------------------------------------------
 Ticket             | 4034
 Created By         | alex at segv.de
 Summary            | Vacation messages don't declare encoding
 Queue              | Ingo
 Version            | 1.0.1
 State              | Unconfirmed
 Priority           | 2. Medium
 Type               | Bug
 Owners             | 
+New Attachment     | vacation_encoding.patch
-----------------------------------------------------------------------


alex at segv.de (2006-06-13 09:32) wrote:

When using the procmail backend of ingo the generated formail code for
vacation messages doesn't declare the encoding of the mail.

E.g. if you use german umlaute in the vacation mail, it is sent encoded in
unicode but not declared as such. Some mailers like mutt assume the mail is
encoded in ISO-8859-1 and will print garbage.

Suggested fix:
Add the headers:
  MIME-Version: 1.0
  Content-Type: text/plain; charset=utf-8
  Content-Transfer-Encoding: 8bit
To the formail code. 

The attached patch does that.




More information about the bugs mailing list