pub(crate) async fn send_smtp_messages(
    context: &Context,
    connection: &mut Smtp
) -> Result<()>
Expand description

Tries to send all messages currently in smtp, smtp_status_updates and smtp_mdns tables.

Logs and ignores SMTP errors to ensure that a single SMTP message constantly failing to be sent does not block other messages in the queue from being sent.