This repo has a working example of how to set up AdonisJS 6 to send emails using the Vuemail API.
- Clone the repo
- Run
pnpm install
- Create a
.env
file and add the following:
TZ=UTC
PORT=3333
HOST=localhost
LOG_LEVEL=info
APP_KEY=dYl-XhzZN47qFNn7g4yrLkXRAfU3juXQ
NODE_ENV=development
SMTP_HOST=
SMTP_PORT=
SMTP_USERNAME=
SMTP_PASSWORD=
- Run
pnpm dev
to start the server
- Run
pnpm build:dev
to build the project - Run
pnpm start
to start the server