Ich benutze drupal_mail, um E-Mails zu senden.
$to = 'email@email.com';
drupal_mail('$module_name', $key, $to, language_default(), $params = array('username' => 'Tanvir'), $from = NULL, $send = TRUE);
Ich möchte E-Mails an mehrere E-Mail-Adressen gleichzeitig senden. Soll ich das machen?
$to = array('one@email.com', 'two@email.com', 'three@email.com',);
drupal_mail('$module_name', $key, $to, language_default(), $params = array('username' => 'Tanvir'), $from = NULL, $send = TRUE);