aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/admin/admin_mass_email.php
diff options
context:
space:
mode:
authorJames Atkinson <thefinn@users.sourceforge.net>2001-11-09 08:57:37 +0000
committerJames Atkinson <thefinn@users.sourceforge.net>2001-11-09 08:57:37 +0000
commit833f085eb2f6f957045f2bce4874c61de9a93ebb (patch)
treea2ef34fbb21450b22e81c6919fd439d2abcd75fa /phpBB/admin/admin_mass_email.php
parent41c15e37ce86a63e9120c37f3ef178acf8736083 (diff)
downloadforums-833f085eb2f6f957045f2bce4874c61de9a93ebb.tar
forums-833f085eb2f6f957045f2bce4874c61de9a93ebb.tar.gz
forums-833f085eb2f6f957045f2bce4874c61de9a93ebb.tar.bz2
forums-833f085eb2f6f957045f2bce4874c61de9a93ebb.tar.xz
forums-833f085eb2f6f957045f2bce4874c61de9a93ebb.zip
Checked all calls to message_die and made sure that if they would be outputted to a user
without a major error that they got their error string from the lang file Also made sure all calls had the right arguments in teh right place git-svn-id: file:///svn/phpbb/trunk@1289 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/admin/admin_mass_email.php')
-rw-r--r--phpBB/admin/admin_mass_email.php10
1 files changed, 9 insertions, 1 deletions
diff --git a/phpBB/admin/admin_mass_email.php b/phpBB/admin/admin_mass_email.php
index a3e3b0657a..17fbdc4245 100644
--- a/phpBB/admin/admin_mass_email.php
+++ b/phpBB/admin/admin_mass_email.php
@@ -43,7 +43,14 @@ require('pagestart.inc');
//
// Set VERBOSE to 1 for debugging info..
//
-define("VERBOSE", 0);
+if(DEBUG)
+{
+ define("VERBOSE", 1);
+}
+else
+{
+ define("VERBOSE", 0);
+}
//
// Increase maximum execution time in case of a lot of users, but don't complain about it if it isn't
@@ -88,6 +95,7 @@ if(isset($HTTP_POST_VARS['submit']))
}
$email_headers .= $g_list[$i]['user_email'];
}
+
mail($board_config['board_email'],$HTTP_POST_VARS["$f_title"],$HTTP_POST_VARS["$f_msg"],$email_headers);
$notice = $lang['Messages'].' '.$lang['Sent'].'!';
}