Closed davevilela closed 3 months ago
@davevilela you can either use any third-party mail testing service
Or set preview: true
in the config to enable the built-in mail preview.
Your config options should look like this
MailerModule.forRoot({
transport: {
host: "smtp.domain.com",
secure: false,
auth: {
user: "user@domain.com",
pass: "password",
},
},
defaults: {
from: '"From Name" <hello@domain.com>',
},
template: {
dir: __dirname + '/templates',
adapter: new ReactAdapter(),
},
preview: true,
})
Hey, nice package! I have successfully integrated this package into my project, but I'm wondering how would be the recommended workflow for previewing my templates with hot-reloading.
Thanks in advance ! :D