Replies: 2 comments 3 replies
-
Using this I got the basic mail sending to work properly. How can I configure the template directories for handlebars if i am going to use it? nestjs/mailer seems to support that and I know your suggestion is a fix until the versions are updated. As of now it seems I will have to use a nodemailer different package to support templating? How did you manage the templating features? |
Beta Was this translation helpful? Give feedback.
3 replies
-
At this moment, the mailer is already compatible with version 10 of Nest. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello,
If you are stuck with
@nest-modules/mailer
and need to update Nest to version 10, migrating tonodemailer
is very simple and doesn't require much change to your code.First you need to create a mailer service and replace
@nest-modules/mailer
MailerService with it. It's straight forward.Create a file and name it
mailer.service.ts
You need to import this service into your
app.module.ts
then you can easily inject that service into anything in your app.Remove
@nest-modules/mailer
and its references in the app module and the rest of your application.Once an update is released, you can install it back and use it if you want.
Beta Was this translation helpful? Give feedback.
All reactions