cvs: php-master-web /entry user-note.php

From: Date: Thu, 04 Sep 2003 14:11:37 +0000
Subject: cvs: php-master-web /entry user-note.php
Groups: php.mirrors 
Request: Send a blank email to php-mirrors+get-20774@lists.php.net to get a copy of this message
didou Thu Sep 4 10:11:37 2003 EDT Modified files: /php-master-web/entry user-note.php Log: server problem, not a PHP one so I'm reverting Index: php-master-web/entry/user-note.php diff -u php-master-web/entry/user-note.php:1.18 php-master-web/entry/user-note.php:1.19 --- php-master-web/entry/user-note.php:1.18 Thu Sep 4 08:42:07 2003 +++ php-master-web/entry/user-note.php Thu Sep 4 10:11:37 2003 @@ -3,8 +3,7 @@ //require_once 'alert_lib.inc'; $mailto = 'php-notes@lists.php.net'; -$failto = 'jimw@php.net, alindeman@php.net, didou@keliglia.com'; -$dbugto = 'didou@keliglia.com'; +$failto = 'jimw@php.net, alindeman@php.net'; if (!isset($user) || empty($note) || empty($sect)) die("missing some parameters."); @@ -58,10 +57,6 @@ //na = not approved. Don't display notes until they are approved by an editor //This has been reverted until it has been discussed further. -// testing the mail function -mail($dbugto, "from user-note.php", "I'm ok !"); - - //echo "<!--$query-->\n"; if (@mysql_query($query)) { $new_id = mysql_insert_id(); @@ -77,9 +72,7 @@ // see who requested an alert // ** alerts ** //$mailto .= get_emails_for_sect($sect); - if (!mail($mailto,"note $new_id added to $sect",$msg,"From: $user\r\nMessage-ID: <note-$new_id@php.net>")) { - mail($dbugto, "mail() failed", $msg); - } + mail($mailto,"note $new_id added to $sect",$msg,"From: $user\r\nMessage-ID: <note-$new_id@php.net>"); } else { // mail it. mail($failto,

« previous php.mirrors (#20774) next »