← @mortar-kit/auth

MailMessageinterface

import { MailMessage } from '@mortar-kit/auth'

interface MailMessage

One email to send.

Properties

to: string
subject: string
text: string

Plain-text body.

html?: string

HTML body, for clients that show it.

replyTo?: string

Where replies go instead of the sender, e.g. the visitor who filled in a contact form.