Expanded class hierarchy of PhpMail in Drupal 10
- class \Drupal\Core\Mail\Plugin\Mail\PhpMail implements MailInterface
- class \Drupal\Core\Mail\Plugin\Mail\TestMailCollector implements MailInterface
- class \Drupal\system_mail_failure_test\Plugin\Mail\TestPhpMailFailure implements MailInterface