Adding godotenv library to use our .env file for the smtp configuration. Updating main.go adding our logger first, load our .env file, retrieve values to initialize the mail application's struct. Updating registerUserHandler sending the user_welcome.tmpl email.
Some checks failed
Deploy Greenlight API / deploy (push) Failing after 15m11s
Some checks failed
Deploy Greenlight API / deploy (push) Failing after 15m11s
This commit is contained in:
Reference in New Issue
Block a user