Up
Module
Simplemail
=
Smtp_client.Simple
Signature
module
Envelope_status
=
Client.Envelope_status
module
Expert
: sig .. end
include
module type of
Email_message.Std.Email.Simple
with
module
Expert
:=
Email_message.Std.Email.Simple.Expert
module
Mimetype
: sig .. end
type
attachment_name = string
module
Content
: sig .. end
type
t =
Email.email
val
create : ?from:
Email_message.Email_address.t
-> to_:
Email_message.Email_address.t
list -> ?cc:
Email_message.Email_address.t
list -> subject:string -> ?id:string -> ?date:
Core.Std.Time.t
-> ?extra_headers:(
Email_message.Headers.Name.t
*
Email_message.Headers.Value.t
) list -> ?attachments:(
attachment_name
*
Content.t
) list ->
Content.t
->
t
module
Expert
: sig .. end
val
send' : ?log:
Mail_log.t
-> ?server:
Core.Std.Host_and_port.t
-> ?from:
Types.Email_address.t
-> to_:
Types.Email_address.t
list -> ?cc:
Types.Email_address.t
list -> ?bcc:
Types.Email_address.t
list -> subject:string -> ?id:string -> ?date:
Core.Std.Time.t
-> ?extra_headers:(
Email_message.Std.Email_headers.Name.t
*
Email_message.Std.Email_headers.Value.t
) list -> ?attachments:(
attachment_name
*
Email_message.Std.Email.Simple.Content.t
) list ->
Email_message.Std.Email.Simple.Content.t
->
Envelope_status.t
Async.Std.Deferred.Or_error.t
val
send : ?log:
Mail_log.t
-> ?server:
Core.Std.Host_and_port.t
-> ?from:
Types.Email_address.t
-> to_:
Types.Email_address.t
list -> ?cc:
Types.Email_address.t
list -> ?bcc:
Types.Email_address.t
list -> subject:string -> ?id:string -> ?date:
Core.Std.Time.t
-> ?extra_headers:(
Email_message.Std.Email_headers.Name.t
*
Email_message.Std.Email_headers.Value.t
) list -> ?attachments:(
attachment_name
*
Email_message.Std.Email.Simple.Content.t
) list ->
Email_message.Std.Email.Simple.Content.t
-> unit
Async.Std.Deferred.Or_error.t