Options
All
  • Public
  • Public/Protected
  • All
Menu

Class SmtpMailer

Hierarchy

Index

Constructors

Properties

Methods

Object literals

Constructors

constructor

Properties

app

app: App

mail_config

mail_config: { from_address: string; from_name: string }

Type declaration

  • from_address: string
  • from_name: string

transport

transport: nodemailer.Transporter

Methods

init

  • init(): Promise<void>
  • Returns Promise<void>

send

  • Parameters

    Returns Promise<void>

sendEmail

  • sendEmail(__namedParameters: { attachments: any[]; from_name: string; html: string; subject: string; text: string; to: string }): Promise<any>
  • Parameters

    • __namedParameters: { attachments: any[]; from_name: string; html: string; subject: string; text: string; to: string }
      • attachments: any[]
      • from_name: string
      • html: string
      • subject: string
      • text: string
      • to: string

    Returns Promise<any>

verify

  • verify(): Promise<true>
  • Returns Promise<true>

Object literals

Static default_config

default_config: object

host

host: null = null

password

password: null = null

port

port: null = null

user

user: null = null

Generated using TypeDoc