Module Values.TemplateSource

The content of the email, composed of a subject line and either an HTML part or a text-only part.

Sourcetype nonrec t = {
  1. templateName : TemplateName.t;
    (*

    The name of the template. You use this name when you send email using the SendTemplatedEmail or SendBulkTemplatedEmail operations.

    *)
  2. subjectPart : SubjectPart.t option;
    (*

    The subject line of the email.

    *)
  3. textPart : TextPart.t option;
    (*

    The email body that is visible to recipients whose email clients do not display HTML content.

    *)
  4. htmlPart : HtmlPart.t option;
    (*

    The HTML body of the email.

    *)
}
Sourceval context_ : string
Sourceval make : ?subjectPart:??? -> ?textPart:??? -> ?htmlPart:??? -> templateName:TemplateName.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `String of TemplateName.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