pub(crate) async fn send_msg_to_smtp(
    context: &Context,
    smtp: &mut Smtp,
    rowid: i64
) -> Result<()>
Expand description

Sends message identified by smtp table rowid over SMTP connection.

Removes row if the message should not be retried, otherwise increments retry count.