Commit 1a86ef65 authored by Penny Leach's avatar Penny Leach
Browse files

add in fullname of user sending email (calling stub fullname function

for now)
parent f0c30abd
...@@ -856,7 +856,7 @@ function email_user($userto, $userfrom, $subject, $messagetext, $messagehtml='') ...@@ -856,7 +856,7 @@ function email_user($userto, $userfrom, $subject, $messagetext, $messagehtml='')
else { else {
$mail->Sender = $userfrom->email; $mail->Sender = $userfrom->email;
$mail->From = $mail->Sender; $mail->From = $mail->Sender;
$mail->FromName = ''; //@todo fullname $mail->FromName = fullname($userfrom);
} }
$mail->AddReplyTo($mail->From, $mail->FromName); $mail->AddReplyTo($mail->From, $mail->FromName);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment