Don't pass a MailAddress pass the email to mail()
Bug: T207541 Change-Id: I1516023907e9773cb093010c6b67279f695abb1a
This commit is contained in:
parent
2e420fe098
commit
c57aacb782
1 changed files with 1 additions and 1 deletions
|
|
@ -430,7 +430,7 @@ class UserMailer {
|
||||||
try {
|
try {
|
||||||
foreach ( $to as $recip ) {
|
foreach ( $to as $recip ) {
|
||||||
$sent = mail(
|
$sent = mail(
|
||||||
$recip,
|
$recip->toString(),
|
||||||
self::quotedPrintable( $subject ),
|
self::quotedPrintable( $subject ),
|
||||||
$body,
|
$body,
|
||||||
$headers,
|
$headers,
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue