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