diff -bcr ../UserSpice41/users/email_test.php ./users/email_test.php *** ../UserSpice41/users/email_test.php 2016-08-15 15:51:50.062520500 +0200 --- ./users/email_test.php 2016-08-25 14:59:55.767586500 +0200 *************** *** 17,22 **** --- 17,30 ---- You should have received a copy of the GNU General Public License along with this program. If not, see . */ + + /* DEVELOPER NOTE: + If you are having difficulty with your email configuration, go to + users/helpers/helpers.php (around line 114) and set $mail->SMTPDebug + to a non-zero value. This is a development-platform-ONLY setting - be + sure to set it back to zero (or leave it unset) on any live platform - + otherwise you would open significant security holes. + */ ?> *************** *** 27,46 **** Redirect::to('account.php'); } ?> - query("SELECT * FROM email"); - $results = $query->first(); - - if(!empty($_POST)){ - $to = $_POST['test_acct']; - $subject = 'Testing Your Email Settings!'; - $body = 'This is the body of your test email'; - $mail_result=email($to,$subject,$body); - } - - ?>
--- 35,40 ---- *************** *** 49,59 ****
- -
- !

Test your email settings. --- 43,50 ----
!

Test your email settings. *************** *** 61,89 **** It's a good idea to test to make sure you can actually receive system emails before forcing your users to verify theirs.

'; }else{ ! echo 'Mail ERROR
'; } - } - ?>
!