Skip to content

Commit

Permalink
when a new e-mail address is created, don't use the the customers nam…
Browse files Browse the repository at this point in the history
…e, as it might confuse the owner of the account, fixes froxlor#1127

Signed-off-by: Michael Kaufmann (d00p) <[email protected]>
  • Loading branch information
d00p committed Mar 15, 2013
1 parent 71544cc commit d3e902a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion customer_email.php
Original file line number Diff line number Diff line change
Expand Up @@ -512,7 +512,7 @@
$mail->Subject = $mail_subject;
$mail->AltBody = $mail_body;
$mail->MsgHTML(str_replace("\n", "<br />", $mail_body));
$mail->AddAddress($email_full, getCorrectUserSalutation($userinfo));
$mail->AddAddress($email_full);
$mail->Send();
} catch(phpmailerException $e) {
$mailerr_msg = $e->errorMessage();
Expand Down

0 comments on commit d3e902a

Please sign in to comment.