Topic: email (rfc) bug
Email headers should use \r\n instead of \n
Here is a patch to email.php to fix:
diff -r ./include/email.php ../../../../web/php.pgregg.com/forums/include/email.
php
74c74,76
< $headers = 'From: '.$from."\n".'Date: '.date('r')."\n".'MIME-Version: 1.0'."\n".'Content-transfer-encoding: 8bit'."\n".'Content-type: text/plain; charset='.$lang_common['lang_encoding']."\n".'X-Mailer: PunBB Mailer';
---
> $message = str_replace("\n", "\r\n", $message);
> $crlf = chr(13).chr(10);
> $headers = 'From: '.$from.$crlf.'Date: '.date('r').$crlf.'MIME-Version: 1.0'.$crlf.'Content-transfer-encoding: 8bit'.$crlf.'Content-type: text/plain; charset='.$lang_common['lang_encoding'].$crlf.'X-Mailer: PunBB Mailer';
Hope this helps.... Nice board (just d/l yesterday).
Oh (reason I found it) - Qmail MTA b0rks if you don't do it right.