Options
All
  • Public
  • Public/Protected
  • All
Menu

External module "user/mail/mail.service"

Index

Variables

Functions

Variables

Let mailTransporter

mailTransporter: any = null

Functions

sendMail

  • sendMail(app: any, user: any, subject: any, template: any, context?: object): Promise<Object>
  • Sends an email

    Parameters

    • app: any
    • user: any

      mail recipient

    • subject: any

      mail subject

    • template: any

      mail template name

    • Default value context: object = {}

      data to be included while rendering the template (optional)

    Returns Promise<Object>

Generated using TypeDoc