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
Name | Type |
---|---|
mailFields | InterfaceMailFields |
Returns
Promise
<string
| SentMessageInfo
>
Promise along with resolve and reject methods.
Remarks
This is a utility method.