Module Client.Tcp
Standard SMTP over tcp
val with_ : (?config:Async_smtp__.Client_config.t -> ?credentials:Async_smtp__.Credentials.t -> log:Async_smtp__.Mail_log.t -> ?flows:Async_smtp__.Mail_log.Flows.t -> ?component:Async_smtp__.Mail_log.Component.t -> Core.Host_and_port.t -> f:(t -> 'a Async.Deferred.Or_error.t) -> 'a Async.Deferred.Or_error.t) Async.Tcp.with_connect_options
Establish a connection to the given address and perform the appropriate SMTP handshake. Use
send_envelope
to (attempt) to deliver messages.