Recent Changes - Search:

PmWiki

pmwiki.org

00939

Summary: Issue with Notify.php
Created: 2007-06-12 09:41
Status: Open
Category: Bug
From: isidor
Assigned:
Priority: 5
Version: Pmwiki 2.2 b55
OS: Debian/Apache2/PHP4/Postfix

Description: When using the $NotifyFrom in the Notify function the mail is not properly formed because an extra "BlankLine" is written in the header.

On Debian/Apache2/PHP4/Postfix this could be fixed by removing \r in from notify.php

With this the mail is correctly created

if (@$NotifyFrom)
$NotifyHeaders = "From: $NotifyFrom\n$NotifyHeaders";

I think it's the same whatever version of Linux/PHP/mailserver. Maybe the \r is needed with windows.

Can someone check on windows so the code could be corrected ?

Edit - History - Print - Recent Changes - Search
Page last modified on July 21, 2007, at 09:32 AM