- πΊπΈUnited States bluegeek9
You can use the Message Subscribe β . It does not send the messages with multiple recipients in one email. It sends one email per recipient.
- Status changed to Active
12 months ago 1:59pm 12 January 2024
Hi,
I think there can be a feature implemented in this module.
In Email.php on line 90 and next lines from there, we set the receiver to the owner of this Message. But let's say we want to send emails to more than one receiver it is not possible...
So I suggest when we are sending email, in options we set "to" and later on we check if $options['to'] exsits if not we set as reciever author of template.
$notifier = \Drupal::service('message_notify.sender');
$options = [
'to' => $users,
];
$notifier->send($message, $options);
Active
1.0
Code
Not all content is available!
It's likely this issue predates Contrib.social: some issue and comment data are missing.
You can use the Message Subscribe β . It does not send the messages with multiple recipients in one email. It sends one email per recipient.