Class: EmailService
Implements
Constructors
new EmailService()
new EmailService(
logger
,mailerService
):EmailService
Parameters
Parameter | Type |
---|---|
logger | Logger |
mailerService | EmailServiceInterface |
Returns
Defined in
nestjs-email/src/email.service.ts:13 (opens in a new tab)
Properties
Property | Modifier | Type |
---|---|---|
logger | readonly | Logger |
mailerService | readonly | EmailServiceInterface |
Methods
sendMail()
sendMail(
dto
):Promise
<void
>
Parameters
Parameter | Type |
---|---|
dto | EmailSendOptionsInterface |
Returns
Promise
<void
>
Implementation of
EmailServiceInterface
.sendMail