package async_smtp

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
val send_envelope : Async_smtp__.Client_raw.t -> log:Async.Log.t -> ?flows:string list -> ?component:string list -> send_data:(Async_smtp__.Client_raw.t -> unit Async.Deferred.Or_error.t) -> Async_smtp_types.Smtp_envelope.Info.t -> (string * (Async_smtp_types.Email_address.t * Smtp_reply.t) list, [ `Rejected_sender of Smtp_reply.t | `No_recipients of (Async_smtp_types.Email_address.t * Smtp_reply.t) list | `Rejected_sender_and_recipients of Smtp_reply.t * (Async_smtp_types.Email_address.t * Smtp_reply.t) list | `Rejected_body of Smtp_reply.t * (Async_smtp_types.Email_address.t * Smtp_reply.t) list ]) Core.Result.t Async.Deferred.Or_error.t