Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

SimpleEmail

import type { SimpleEmail } from "https://aws-api.deno.dev/v0.4/services/pinpoint.ts?docs=full";

Specifies the contents of an email message, composed of a subject, a text part, and an HTML part.

interface SimpleEmail {
HtmlPart?: SimpleEmailPart | null;
Subject?: SimpleEmailPart | null;
TextPart?: SimpleEmailPart | null;
}

§Properties

§
HtmlPart?: SimpleEmailPart | null
[src]

The body of the email message, in HTML format. We recommend using HTML format for email clients that render HTML content. You can include links, formatted text, and more in an HTML message.

§
Subject?: SimpleEmailPart | null
[src]

The subject line, or title, of the email.

§
TextPart?: SimpleEmailPart | null
[src]

The body of the email message, in plain text format. We recommend using plain text format for email clients that don't render HTML content and clients that are connected to high-latency networks, such as mobile devices.