EmailClient
EmailClient =
object
Defined in: packages/email/src/types.ts:93
An email client instance returned by createEmailClient.
Renders react-email components and delivers them through the configured EmailProvider.
Properties
Section titled “Properties”send()
Section titled “send()”send: (
options) =>Promise<{id:string; }>
Defined in: packages/email/src/types.ts:100
Render a react-email component and send the resulting email.
Parameters
Section titled “Parameters”options
Section titled “options”The message details including recipient, subject, and React template.
Returns
Section titled “Returns”Promise<{ id: string; }>
The provider-specific message ID.