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 ‑> Async_smtp_types.Smtp_socket_address.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.