Closed hddananjaya closed 3 years ago
Hi @hddananjaya put "./" before template value
.sendMail({
to: 'test@nestjs.com',
from: 'noreply@nestjs.com',
subject: 'Testing Nest Mailermodule with template'
template: './welcome',
})
Hi @hddananjaya put "./" before template value
.sendMail({ to: 'test@nestjs.com', from: 'noreply@nestjs.com', subject: 'Testing Nest Mailermodule with template' template: './welcome', })
I resolved it. Thanks
Hi all, 🦄
Config:
I'm trying to use with handlebars.
App Module:
Service:
I get this error when I use templates.
I manually copied templates folder to
dist
to check whether the problem is with paths. But it asks fortemplateName
which I didn't provide.Thanks!