From: martin Date: Sun, 4 Aug 2002 02:39:54 +0000 (+0000) Subject: In email_to_user, change AddBCC back to AddAddress ... this was a hangover X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=e84ef824113f212f0b42be912ea1ab0677ed394f;p=moodle.git In email_to_user, change AddBCC back to AddAddress ... this was a hangover from the old bulk-email method, but now we just send one email at a time, so it makes sense for the address to be visible again --- diff --git a/lib/moodlelib.php b/lib/moodlelib.php index 680ac6cc9f..92477c8b3e 100644 --- a/lib/moodlelib.php +++ b/lib/moodlelib.php @@ -1143,7 +1143,7 @@ function email_to_user($user, $from, $subject, $messagetext, $messagehtml="", $a $mail->FromName = "$from->firstname $from->lastname"; $mail->Subject = stripslashes($subject); - $mail->AddBCC("$user->email","$user->firstname $user->lastname"); + $mail->AddAddress("$user->email","$user->firstname $user->lastname"); $mail->WordWrap = 70; // set word wrap