mails and headers

Author Message

Toni Ascó

Monday 30 August 2004 2:29:09 am

Hi, i have a modeule that uses ezmail to send mails. Everything was ok with ez3.3.x but for some reasons the mail headers are messed up with ez3.4. We've had to change sendMail in ezSendMailTransport.php from

  $extraHeaders = $mail->headerText( array( 'exclude-headers' => array( 'To') ) );

To

  $extraHeaders = $mail->headerText( array( 'exclude-headers' => array( 'To', 'Subject', 'From', 'reply-to', 'body', 'cc', 'bcc', 'mime-version') ) );

Seems as if ez didn't put the semicolon after each header.

Has anybody experienced the same problem? Are we doing anything wrong?

Thanx in advance

Toni

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 19 2025 04:31:05
Script start
Timing: Jan 19 2025 04:31:05
Module start 'layout'
Timing: Jan 19 2025 04:31:05
Module start 'content'
Timing: Jan 19 2025 04:31:06
Module end 'content'
Timing: Jan 19 2025 04:31:06
Script end

Main resources:

Total runtime1.0194 sec
Peak memory usage4,096.0000 KB
Database Queries46

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0072 589.0313152.6094
Module start 'layout' 0.00720.0057 741.640639.4141
Module start 'content' 0.01301.0047 781.0547401.5547
Module end 'content' 1.01770.0017 1,182.60948.1875
Script end 1.0193  1,190.7969 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00400.3912160.0002
Check MTime0.00170.1643160.0001
Mysql Total
Database connection0.00100.101110.0010
Mysqli_queries0.954993.6796460.0208
Looping result0.00050.0487440.0000
Template Total0.962694.420.4813
Template load0.00270.265020.0014
Template processing0.959894.161520.4799
Template load and register function0.00020.019610.0002
states
state_id_array0.00140.133810.0014
state_identifier_array0.00190.185220.0009
Override
Cache load0.00220.2109110.0002
Sytem overhead
Fetch class attribute can translate value0.00070.068510.0007
Fetch class attribute name0.00070.067610.0007
XML
Image XML parsing0.00010.009810.0001
class_abstraction
Instantiating content class attribute0.00000.000810.0000
General
dbfile0.00790.7737100.0008
String conversion0.00000.001040.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1node/view/full.tplfull/forum_topic.tplextension/sevenx/design/simple/override/templates/full/forum_topic.tplEdit templateOverride template
1content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
3content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
2content/datatype/view/ezxmltags/literal.tpl<No override>extension/community/design/standard/templates/content/datatype/view/ezxmltags/literal.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 8
 Number of unique templates used: 5

Time used to render debug report: 0.0001 secs