Search
Preparing search index...
The search index is not available
Deco API Documentation - v1.0.7
Options
All
Public
Public/Protected
All
Inherited
Menu
Deco API Documentation - v1.0.7
NotificationEmailService
Class NotificationEmailService
Hierarchy
NotificationEmailService
Index
Constructors
constructor
Properties
enable
Preview
Mode
from
realy
Send
Email
transporter
Methods
init
Transporter
send
service
For
App
Constructors
constructor
new
Notification
Email
Service
(
)
:
NotificationEmailService
Returns
NotificationEmailService
Properties
Private
enable
Preview
Mode
enable
Preview
Mode
:
boolean
= false
Optional
from
from
:
string
Private
realy
Send
Email
realy
Send
Email
:
boolean
= true
Private
Optional
transporter
transporter
:
Mail
Methods
init
Transporter
init
Transporter
(
options
:
Options
|
Options
)
:
void
Parameters
options:
Options
|
Options
Returns
void
send
send
(
recipients
:
string
|
Address
|
(
string
|
Address
)
[]
, templatePath
:
string
, data
:
any
, templateOverride
?:
null
|
TemplateOverride
, attachments
?:
Attachment
[]
)
:
Promise
<
any
>
Parameters
recipients:
string
|
Address
|
(
string
|
Address
)
[]
templatePath:
string
data:
any
templateOverride:
null
|
TemplateOverride
= null
attachments:
Attachment
[]
= ...
Returns
Promise
<
any
>
Static
service
For
App
service
For
App
(
app
:
AppModel
)
:
NotificationEmailService
Parameters
app:
AppModel
Returns
NotificationEmailService
Exports
Notification
Email
Service
constructor
enable
Preview
Mode
from
realy
Send
Email
transporter
init
Transporter
send
service
For
App
Generated using
TypeDoc