Module Values.MessageSource

Represents the email message that you're sending. The Message object consists of a subject line and a message body.

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

    The subject line of the email. The subject line can only contain 7-bit ASCII characters. However, you can specify non-ASCII characters in the subject line by using encoded-word syntax, as described in RFC 2047.

    *)
  2. body : Body.t;
    (*

    The body of the message. You can specify an HTML version of the message, a text-only version of the message, or both.

    *)
}
Sourceval context_ : string
Sourceval make : subject:Content.t -> body:Body.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Structure of (string * [> `String of MessageData.t | `Structure of (string * [> `String of MessageData.t ]) list ]) 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