TypeScript EmailService Documentation
Methods
sendEmail
â–¸ sendEmail(to
: string, subject
: string, htmlBody
: string): Promise<void>
Send email
throws
Error if email was not sent successfully
Parameters
Name | Type | Description |
---|---|---|
to | string | recipient’s email |
subject | string | email subject |
htmlBody | string | email body as html |
Returns: Promise<void>