#setup test account for nestjs-modulesmailer
6 messages · Page 1 of 1 (latest)
yes @nestjs-modulesmailer is based on nodemailer and has a build in thing to create test accounts
but this requires a await but i cant really await in a module forRoot can i?
i can just create a account for ethereal on the site it self but those expire without getting newly refreshed if they expire, so i just a authentication error thinking my code here is at fault
then i start to debug it and realize later the email account doesn't exist anymore
I usually test the outgoing mails using this tool, works flawlessly on a local environment
https://github.com/mailhog/MailHog
not really what i was hoping for
certain parts of my app breaks because i'm not longer authenticated with a email address
to send and fetch emails without effecting anybody
the outgoing is not the problem
the problem is i have nothing to let it go out
having a account that can have the incomming is here the problem