directus-monorepo ( Readme | API )
directus-monorepo > MailService
new MailService(
opts
):MailService
Parameter | Type |
---|---|
opts |
AbstractServiceOptions |
api/src/services/mail/index.ts:36
accountability:
any
api/src/services/mail/index.ts:32
knex:
Knex
<any
,any
[] >
api/src/services/mail/index.ts:33
mailer:
Transporter
api/src/services/mail/index.ts:34
schema:
SchemaOverview
api/src/services/mail/index.ts:31
private
getDefaultTemplateData():Promise
< {projectColor
:any
;projectLogo
:string
;projectName
:any
;projectUrl
:any
;} >
Promise
< {projectColor
: any
; projectLogo
: string
; projectName
: any
; projectUrl
: any
;} >
api/src/services/mail/index.ts:99
private
renderTemplate(template
,variables
):Promise
<any
>
Parameter | Type |
---|---|
template |
string |
variables |
Record < string , any > |
Promise
< any
>
api/src/services/mail/index.ts:83
send<
T
>(options
):Promise
<T
>
Parameter |
---|
T |
Parameter | Type |
---|---|
options |
EmailOptions |
Promise
< T
>
api/src/services/mail/index.ts:52
Generated using TypeDoc and typedoc-plugin-markdown