mails send by notification system incorrect

Author Message

Dominik Stoeppel

Friday 09 January 2004 11:22:42 am

hi,

i hope someone can help me. Why are the mails looking so ? I think the first lines must be in the header and not in the body.
The date is not shown too, so they are at the end in my inbox.

I use postfix instead of sendmail on my server. Is this the problem ?

thx for help :)

dominik

-------
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit
Content-Disposition: inline
User-Agent: eZ publish, Version 3.3-1
Message-ID: <node.150.eznotification@www.testserver-1.local>
References: <node.1.eznotification@www.testserver-1.local> <node.2.eznotification@www.testserver-1.local> <node.55.eznotification@www.testserver-1.local> <node.61.eznotification@www.testserver-1.local> <node.150.eznotification@www.testserver-1.local>
In-Reply-To: <node.150.eznotification@www.testserver-1.local>
Date: Fri, 9 Jan 2004 18:49:20 +0100 (CET)
Return-Path: wwwrun@hc-webserver1.testserver-1.local
X-OriginalArrivalTime: 09 Jan 2004 17:49:19.0340 (UTC) FILETIME=[E8325AC0:01C3D6D8]

This email is to inform you that an updated item has been published at www.testserver-1.local.

The item can viewed by using the URL below.

My Company - Administrator User (Owner: Administrator User)

http://www.testserver-1.local/intranet_admin/contact/companies/my_company

Wenn Sie nicht weiterhin diese Benachrichtigungen erhalten wollen, änderen Sie Ihre Einstellungen unter:

http://www.testserver-1.local/intranet_admin/notification/settings

Marco Zinn

Friday 09 January 2004 12:38:28 pm

We had the some problem when using sendmail. My mail client (Lotus Notes 5) showed the headers in the body.... and i had empty lines in the mail.
The problem was essentially fixed by changed the newline or linebreak definition in the mail system. Look for /lib/mail.php or so.
See http://ez.no/developer/ez_publish_3/forum/developer/illegal_mime_chars_in_email_header for a similar problem with a one-liner, which should solve your problem.

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

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

Main resources:

Total runtime0.7015 sec
Peak memory usage4,096.0000 KB
Database Queries54

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0066 589.2891152.6406
Module start 'layout' 0.00660.0040 741.929739.4766
Module start 'content' 0.01060.6893 781.4063526.8281
Module end 'content' 0.69990.0016 1,308.23448.1250
Script end 0.7015  1,316.3594 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00350.5032160.0002
Check MTime0.00130.1849160.0001
Mysql Total
Database connection0.00090.132210.0009
Mysqli_queries0.650292.6854540.0120
Looping result0.00060.0786520.0000
Template Total0.663494.620.3317
Template load0.00220.313020.0011
Template processing0.661294.246720.3306
Template load and register function0.00010.017510.0001
states
state_id_array0.00100.138110.0010
state_identifier_array0.00120.176620.0006
Override
Cache load0.00180.2590310.0001
Sytem overhead
Fetch class attribute can translate value0.00090.134920.0005
Fetch class attribute name0.00100.148130.0003
XML
Image XML parsing0.00070.094220.0003
class_abstraction
Instantiating content class attribute0.00000.001430.0000
General
dbfile0.00090.1292160.0001
String conversion0.00000.001840.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
2content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
4content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
3content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
1content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 12
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs