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
This commit is contained in:
+1
-1
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user