Skip to main content

get_send_failure_domains_since

Function get_send_failure_domains_since 

Source
pub async fn get_send_failure_domains_since(
    conn: &mut PgConnection,
    since: DateTime<Utc>,
    now: DateTime<Utc>,
) -> ModelResult<Vec<LinkingMailFailureDomain>>
Expand description

Domains behind a hard send failure in the window, worst first. Same predicate as get_send_status_totals_since, enforced by both calling crate::email_deliveries::is_hard_send_failure rather than each repeating the condition.