// first send to non-split address list, then to split addresses one by one
$status = Status::newGood();
if ( $to ) {
// first send to non-split address list, then to split addresses one by one
$status = Status::newGood();
if ( $to ) {
$to, $from, $subject, $body, $options ) );
}
foreach ( $splitTo as $newTo ) {
$to, $from, $subject, $body, $options ) );
}
foreach ( $splitTo as $newTo ) {
[ $newTo ], $from, $subject, $body, $options ) );
}
return $status;
}
}
[ $newTo ], $from, $subject, $body, $options ) );
}
return $status;
}
}
- return UserMailer::sendInternal( $to, $from, $subject, $body, $options );
+ return self::sendInternal( $to, $from, $subject, $body, $options );