Forums / Setup & design / mails send by notification system incorrect

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