Stop testing emails like this.
@syntaxfm48K followers
12,440 views
5 Comments
Comments from the original post on X (Twitter)

@vance_gillies
Or just make an abstract interface and have a local implementation that just console logs whatever data you would send in an email.
1 like

@NyxXeres
Or, and this might sound crazy … setup a proper development environment? That way you can test authentication without the smtp factor, and optionally bypass it when you don’t need to test it for your current development?
1 like

@cmiondotdev
Does it have a restful API? Or do I have to reach to nodemailer for smtp connections

@jvpdesignllc
The first bit got me so excited only to be let down because I already spin up a mailhog instance by default in all my projects… Like a database, this is a must have in my docker compose

@sidati
Oh, and the best part? When you deploy your app, every single email proudly lands straight in the junk folder! 😅
