package async_smtp

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
type t = {
  1. receive : Core.Time.Span.t;
  2. receive_after_close : Core.Time.Span.t;
}

Server timeouts while reading SMTP input.

If a line of input (either an SMTP command or a data line) is not received within receive, the SMTP connection is dropped and the message is abandoned.

If Smtp_server.close has been called, receive_after_close is used for the read timeout. This can be set to a time span smaller than receive to speed up server shutdown.

include Ppx_sexp_conv_lib.Sexpable.S with type t := t
val t_of_sexp : Sexplib0.Sexp.t -> t
val sexp_of_t : t -> Sexplib0.Sexp.t
val default : t