Module Values.MessageBodySource

The textual body content of an email message.

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

    The plain text body content of the message.

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

    The HTML body content of the message.

    *)
  3. messageMalformed : Boolean.t option;
    (*

    A flag indicating if the email was malformed.

    *)
}
Sourceval make : ?text:??? -> ?html:??? -> ?messageMalformed:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Boolean of Boolean.t | `String of String_.t ]) 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