Merged latest tweaks
This commit is contained in:
+2
-1
@@ -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,
|
||||
|
||||
+1
-1
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user