package email_message

  1. Overview
  2. Docs
Legend:
Page
Library
Module
Module type
Parameter
Class
Class type
Source

Module Email.SimpleSource

Sourcemodule Mimetype : sig ... end
Sourcetype attachment_name = string
Sourcemodule Attachment : sig ... end
Sourcemodule Content : sig ... end
Sourcetype t = Email.t
Sourceval sexp_of_t : t -> Ppx_sexp_conv_lib.Sexp.t
Sourceval create : ?from:Email_address.t -> to_:Email_address.t list -> ?cc:Email_address.t list -> ?reply_to:Email_address.t -> subject:string -> ?id:string -> ?in_reply_to:string -> ?date:Core.Time.t -> ?auto_generated:unit -> ?extra_headers:(string * string) list -> ?attachments:(attachment_name * Content.t) list -> Content.t -> t
Sourceval make_id : unit -> string

A unique value to be used in a Message-Id header

Sourceval from : t -> Email_address.t option
Sourceval to_ : t -> Email_address.t list option
Sourceval cc : t -> Email_address.t list option
Sourceval subject : t -> string option
Sourceval id : t -> string option
Sourceval extract_body : ?content_type:Mimetype.t -> t -> string option
Sourceval all_attachments : t -> Attachment.t list
Sourceval find_attachment : t -> attachment_name -> Attachment.t option
Sourceval inline_parts : t -> Content.t list
Sourceval map_file_attachments : t -> f:(Attachment.t -> [ `Keep | `Replace of t ]) -> t
Sourcemodule Expert : sig ... end
Sourcemodule Stable : sig ... end
OCaml

Innovation. Community. Security.