Search
Preparing search index...
The search index is not available
staart
Options
All
Public
Public/Protected
All
Inherited
Externals
Only exported
Menu
Globals
"helpers/mail"
External module "helpers/mail"
Index
Variables
client
Functions
mail
send
Mail
Variables
Const
client
client
:
Client
= createClient({key: SES_ACCESS,secret: SES_SECRET,amazon: `https://email.${SES_REGION}.amazonaws.com`})
Functions
Const
mail
mail
(
to
:
number
|
string
, template
:
string
, data
?:
any
)
:
Promise
<
Object
>
Send a new email using AWS SES
Parameters
to:
number
|
string
template:
string
Default value
data:
any
= {}
Returns
Promise
<
Object
>
Const
send
Mail
send
Mail
(
mail
:
Mail
)
:
Promise
<
Object
>
Send a new email using AWS SES
Parameters
mail:
Mail
Returns
Promise
<
Object
>
Globals
"helpers/mail"
client
mail
send
Mail
Generated using
TypeDoc
Send a new email using AWS SES