soft_delete_unsent_retryable_deliveries_for_user

Function soft_delete_unsent_retryable_deliveries_for_user 

Source
pub async fn soft_delete_unsent_retryable_deliveries_for_user(
    conn: &mut PgConnection,
    user_id: Uuid,
) -> ModelResult<()>
Expand description

Soft-deletes unsent, still-retryable email deliveries for a user. Call when soft-deleting the user so pending deliveries are not retried.