Skip to main content

talawa-api / Exports / utilities/mailer

Module: utilities/mailer

Table of contents

Interfaces

Functions

Functions

mailer

mailer(mailFields): Promise<string | SentMessageInfo>

This function sends emails to the specified user using the node mailer module.

Parameters

NameType
mailFieldsInterfaceMailFields

Returns

Promise<string | SentMessageInfo>

Promise along with resolve and reject methods.

Remarks

This is a utility method.

Defined in

src/utilities/mailer.ts:24