Module Async_smtp__.Fake_spool

type t
val create : config:Async_smtp__.Server_config.t ‑> send:(Async_smtp_types.Smtp_envelope.Routed.t ‑> unit Core.Or_error.t Async.Deferred.t) ‑> t Core.Or_error.t Async.Deferred.t
val add : t ‑> original_msg:Async_smtp_types.Smtp_envelope.t ‑> Async_smtp_types.Smtp_envelope.Routed.t list ‑> Async_smtp_types.Smtp_envelope.Id.t Core.Or_error.t Async.Deferred.t
val flush : ?⁠timeout:unit Async.Deferred.t ‑> t ‑> bool Async.Deferred.t