diff options
| author | James Atkinson <thefinn@users.sourceforge.net> | 2001-11-09 08:57:37 +0000 |
|---|---|---|
| committer | James Atkinson <thefinn@users.sourceforge.net> | 2001-11-09 08:57:37 +0000 |
| commit | 833f085eb2f6f957045f2bce4874c61de9a93ebb (patch) | |
| tree | a2ef34fbb21450b22e81c6919fd439d2abcd75fa /phpBB/admin/admin_mass_email.php | |
| parent | 41c15e37ce86a63e9120c37f3ef178acf8736083 (diff) | |
| download | forums-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.php | 10 |
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'].'!'; } |
