Forums / Developer / sending mail thru postfix

sending mail thru postfix

Author Message

Jean-Luc Chassaing

Thursday 14 April 2011 12:38:49 am

Hello everybody...

So I've got a nice problem here. I've got a contact form on my website and the mails are sent with postfix. All encoding and charset parameters are set to utf-8 dispite this the charset in the mail header is set to us-ascii.

The problem is that most of the mail clients detect the correct charset and display the mail correctly but thunderbird doesn't do this. So I want my mails to arrive with the correct charset....

If someone had a clue, it would be a great help thanks....

Jean-Luc Chassaing

Thursday 14 April 2011 1:36:52 am

Ok, found where is the bug...

My website is usings ez4.3.0 and the ez components that comes with the package is 2009.2.1 wish seems to be the latest..

well I found out that this is a bug in the lib/ezutils/classes/ezMail class setBody method that has been fixed in ez 4.4. The collectinformation.php script in kernel/content still uses this ezMail class that is now deprecated.

I've just checked and this script has not been updated yet in the 4.5 beta release...