package tidy_email

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
type body =
  1. | Text of string
  2. | Html of string
  3. | Mixed of string * string * string option
type t = {
  1. sender : string;
  2. recipients : string list;
  3. subject : string;
  4. body : body;
}
val make : sender:string -> recipient:string -> subject:string -> body:body -> t

Generate a new email record to be sent to a single recipient.