Module Values.BodySource

Represents the body of the message. You can specify text, HTML, or both. If you use both, then the message should display correctly in the widest variety of email clients.

Sourcetype nonrec t = {
  1. text : Content.t option;
    (*

    The content of the message, in text format. Use this for text-based email clients, or clients on high-latency networks (such as mobile devices).

    *)
  2. html : Content.t option;
    (*

    The content of the message, in HTML format. Use this for email clients that can process HTML. You can include clickable links, formatted text, and much more in an HTML message.

    *)
}
Sourceval make : ?text:??? -> ?html:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Structure of (string * [> `String of MessageData.t ]) list ]) list ]
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_string : string -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t