Module Values.ContentSource

An object that represents the content of the email, and optionally a character set specification.

Sourcetype nonrec t = {
  1. data : MessageData.t;
    (*

    The content of the message itself.

    *)
  2. charset : Charset.t option;
    (*

    The character set for the content. Because of the constraints of the SMTP protocol, Amazon SES uses 7-bit ASCII by default. If the text includes characters outside of the ASCII range, you have to specify a character set. For example, you could specify UTF-8, ISO-8859-1, or Shift_JIS.

    *)
}
Sourceval context_ : string
Sourceval make : ?charset:??? -> data:MessageData.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `String of MessageData.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