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...

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.

eZ debug

Timing: Jan 30 2025 00:44:41
Script start
Timing: Jan 30 2025 00:44:41
Module start 'layout'
Timing: Jan 30 2025 00:44:41
Module start 'content'
Timing: Jan 30 2025 00:44:41
Module end 'content'
Timing: Jan 30 2025 00:44:41
Script end

Main resources:

Total runtime0.0247 sec
Peak memory usage2,048.0000 KB
Database Queries3

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0054 588.1328151.2109
Module start 'layout' 0.00540.0016 739.343836.6563
Module start 'content' 0.00700.0159 776.000090.0625
Module end 'content' 0.02290.0018 866.062529.9766
Script end 0.0247  896.0391 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002510.1497140.0002
Check MTime0.00124.7514140.0001
Mysql Total
Database connection0.00072.891510.0007
Mysqli_queries0.00218.407530.0007
Looping result0.00000.109010.0000
Template Total0.00124.910.0012
Template load0.00093.647410.0009
Template processing0.00031.269810.0003
Override
Cache load0.00062.563710.0006
General
dbfile0.008433.864380.0010
String conversion0.00000.025140.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 1
 Number of unique templates used: 1

Time used to render debug report: 0.0001 secs