From: <var...@us...> - 2009-06-10 12:54:50
|
Revision: 6909 http://phpwiki.svn.sourceforge.net/phpwiki/?rev=6909&view=rev Author: vargenau Date: 2009-06-10 12:51:48 +0000 (Wed, 10 Jun 2009) Log Message: ----------- More mail headers Modified Paths: -------------- trunk/lib/MailNotify.php Modified: trunk/lib/MailNotify.php =================================================================== --- trunk/lib/MailNotify.php 2009-06-09 18:18:27 UTC (rev 6908) +++ trunk/lib/MailNotify.php 2009-06-10 12:51:48 UTC (rev 6909) @@ -192,10 +192,16 @@ } } if (!$notice) $notice = _("PageChange Notification of %s"); + $headers = "From: $from\r\n" . + "Bcc: ".join(',', $emails)."\r\n" . + "MIME-Version: 1.0\r\n" . + "Content-Type: text/plain; charset=".CHARSET."; format=flowed\r\n" . + "Content-Transfer-Encoding: 8bit"; + $ok = mail(($to = array_shift($emails)), "[".WIKI_NAME."] ".$subject, $subject."\n".$content, - "From: $from\r\nBcc: ".join(',', $emails) + $headers ); if (MAILER_LOG and is_writable(MAILER_LOG)) { $f = fopen(MAILER_LOG, "a"); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |