Don't pass a MailAddress pass the email to mail()

Bug: T207541
Change-Id: I1516023907e9773cb093010c6b67279f695abb1a
This commit is contained in:
Reedy 2018-10-20 13:37:15 +01:00
parent 2e420fe098
commit c57aacb782

View file

@ -430,7 +430,7 @@ class UserMailer {
try {
foreach ( $to as $recip ) {
$sent = mail(
$recip,
$recip->toString(),
self::quotedPrintable( $subject ),
$body,
$headers,