Forums / Install & configuration / Mail: Additional Headers -> body?

Mail: Additional Headers -> body?

Author Message

Thomas Schamm

Monday 27 October 2003 3:00:51 pm

Hi,

i have a problem which i think is no special ezp problem, but php. Perhaps someone has experience with this: When i let ezp send a mail through sendmail (debian 3.0, php 4.3.3), i get the message correctly, but the additional header elements (X-Mailer:, User-Agent:, ...) show up not in the header, but in the body. I think this must be a php configuration problem, but i found nowhere aid to this problem.
If someone can give me a hint, thank you!!

Regards, Thomas

Marco Zinn

Friday 31 October 2003 2:54:07 pm

No hint yet, sorry.
But I can confirm the error running PHP 4.2.2.
I receive all extra headers in the mail body. Subject line is okay.
Plus, i get extra blank lines in the mail, that ez3 sends (CR+LF problem?).
I'm using Eudora 5.2 on windows, which has no problem with linefeeds in any other mail.

Edit:
I'm running a ezP 2.2.9 installation on the same server (PHP). The mails from there do not have any mail headers in the body... but i don't know, if ez2 sends any.

Marco
http://www.hyperroad-design.com

Mark Kruse

Monday 10 November 2003 6:51:10 am

You can edit the lib/ezutils/classes/ezmail.php
The Line Separator (a constant at the top of the file) is set with "\r\n". You can set this to "\n".

This is not corect anymore, but on our server with php 4.3.3 it works.

Greetings,

Mark

eZ debug

Timing: Jan 18 2025 19:17:00
Script start
Timing: Jan 18 2025 19:17:00
Module start 'content'
Timing: Jan 18 2025 19:17:00
Module end 'content'
Timing: Jan 18 2025 19:17:01
Script end

Main resources:

Total runtime0.6868 sec
Peak memory usage4,096.0000 KB
Database Queries196

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0065 589.7266180.8281
Module start 'content' 0.00650.5381 770.5547579.1406
Module end 'content' 0.54460.1421 1,349.6953332.7500
Script end 0.6867  1,682.4453 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00410.5911210.0002
Check MTime0.00150.2245210.0001
Mysql Total
Database connection0.00060.092310.0006
Mysqli_queries0.614589.47421960.0031
Looping result0.00200.28521940.0000
Template Total0.651494.920.3257
Template load0.00210.305220.0010
Template processing0.649394.545420.3247
Template load and register function0.00030.044110.0003
states
state_id_array0.00230.340010.0023
state_identifier_array0.00080.122520.0004
Override
Cache load0.00170.2481230.0001
Sytem overhead
Fetch class attribute can translate value0.00130.192540.0003
Fetch class attribute name0.00100.140150.0002
XML
Image XML parsing0.00120.172440.0003
class_abstraction
Instantiating content class attribute0.00000.001350.0000
General
dbfile0.00560.8193330.0002
String conversion0.00000.000830.0000
Note: percentages do not add up to 100% because some accumulators overlap

CSS/JS files loaded with "ezjscPacker" during request:

CacheTypePacklevelSourceFiles
CSS0extension/community/design/community/stylesheets/ext/jquery.autocomplete.css
extension/community_design/design/suncana/stylesheets/scrollbars.css
extension/community_design/design/suncana/stylesheets/tabs.css
extension/community_design/design/suncana/stylesheets/roadmap.css
extension/community_design/design/suncana/stylesheets/content.css
extension/community_design/design/suncana/stylesheets/star-rating.css
extension/community_design/design/suncana/stylesheets/syntax_and_custom_tags.css
extension/community_design/design/suncana/stylesheets/buttons.css
extension/community_design/design/suncana/stylesheets/tweetbox.css
extension/community_design/design/suncana/stylesheets/jquery.fancybox-1.3.4.css
extension/bcsmoothgallery/design/standard/stylesheets/magnific-popup.css
extension/sevenx/design/simple/stylesheets/star_rating.css
extension/sevenx/design/simple/stylesheets/libs/fontawesome/css/all.min.css
extension/sevenx/design/simple/stylesheets/main.v02.css
extension/sevenx/design/simple/stylesheets/main.v02.res.css
JS0extension/ezjscore/design/standard/lib/yui/3.17.2/build/yui/yui-min.js
extension/ezjscore/design/standard/javascript/jquery-3.7.0.min.js
extension/community_design/design/suncana/javascript/jquery.ui.core.min.js
extension/community_design/design/suncana/javascript/jquery.ui.widget.min.js
extension/community_design/design/suncana/javascript/jquery.easing.1.3.js
extension/community_design/design/suncana/javascript/jquery.ui.tabs.js
extension/community_design/design/suncana/javascript/jquery.hoverIntent.min.js
extension/community_design/design/suncana/javascript/jquery.popmenu.js
extension/community_design/design/suncana/javascript/jScrollPane.js
extension/community_design/design/suncana/javascript/jquery.mousewheel.js
extension/community_design/design/suncana/javascript/jquery.cycle.all.js
extension/sevenx/design/simple/javascript/jquery.scrollTo.js
extension/community_design/design/suncana/javascript/jquery.cookie.js
extension/community_design/design/suncana/javascript/ezstarrating_jquery.js
extension/community_design/design/suncana/javascript/jquery.initboxes.js
extension/community_design/design/suncana/javascript/app.js
extension/community_design/design/suncana/javascript/twitterwidget.js
extension/community_design/design/suncana/javascript/community.js
extension/community_design/design/suncana/javascript/roadmap.js
extension/community_design/design/suncana/javascript/ez.js
extension/community_design/design/suncana/javascript/ezshareevents.js
extension/sevenx/design/simple/javascript/main.js

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
3content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
5content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
4content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
2content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
1pagelayout.tpl<No override>extension/sevenx/design/simple/templates/pagelayout.tplEdit templateOverride template
 Number of times templates used: 16
 Number of unique templates used: 6

Time used to render debug report: 0.0002 secs