From: moodler Date: Tue, 24 Aug 2004 14:26:35 +0000 (+0000) Subject: Merged latest tweaks X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=90e736bd2dd5c6b3173f8050e55724752e136be4;p=moodle.git Merged latest tweaks --- diff --git a/lib/defaults.php b/lib/defaults.php index 288c9b007a..3a170e02e6 100644 --- a/lib/defaults.php +++ b/lib/defaults.php @@ -4,7 +4,8 @@ // It defines default values for any important configuration variables $defaults = array ( - "auth" => "email", + "auth" => 'email', + "auth_pop3mailbox" => 'INBOX', "autologinguests" => 0, "allowunenroll" => true, "cachetext" => 60, diff --git a/lib/moodlelib.php b/lib/moodlelib.php index 752c0ebefe..bcab55334f 100644 --- a/lib/moodlelib.php +++ b/lib/moodlelib.php @@ -1532,7 +1532,7 @@ function email_to_user($user, $from, $subject, $messagetext, $messagehtml="", $a if ($mail->Send()) { return true; } else { - echo "ERROR: $mail->ErrorInfo\n"; + mtrace("ERROR: $mail->ErrorInfo"); $site = get_site(); add_to_log($site->id, "library", "mailer", $_SERVER["REQUEST_URI"], "ERROR: $mail->ErrorInfo"); return false;