This is the Drupal 8 version of the question How to use drupal_mail without the $to value?. I want to send bcc email for multiple users without a to address. Setting
$to = NULL or
$to = '' or
$to = 'undisclosed-recipients:;' isn’t working.
How can I send an email just with BCC recipients?