"Could not send message using Email to user ID ###" error in log on all messages even though message is created successfully

Created on 9 June 2022, about 2 years ago
Updated 14 February 2024, 4 months ago

We are seeing the following in the logs for every message created:

"Could not send message using Email to user ID ###."

The messages seem to be created okay though when we check the messages log (/admin/content/messages)

Any idea why these log errors are created and how to fix?

We are creating the message like:

$notifier = \Drupal::service('message_notify.sender');
$notifier->send($message);
πŸ’¬ Support request
Status

Fixed

Version

1.2

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States 3CWebDev

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.69.0 2024