refactor: update mailer service to stop using postmark (#38)
* refactor: update mailer service to stop using postmark * chore: remove postmark as a dep and move out postmark code * chore: remove postmark variables from .env.example * chore: add formal errors for mailer initialization errors * chore: add and update jsdoc comments in mailer service methods
This commit is contained in:
@@ -1,9 +1,9 @@
|
||||
# Prisma Config
|
||||
DATABASE_URL=postgresql://postgres:testpass@dev-db:5432/hoppscotch
|
||||
|
||||
# Postmark Config
|
||||
POSTMARK_SERVER_TOKEN=************************************************"
|
||||
POSTMARK_SENDER_EMAIL=************************************************"
|
||||
# Mailer config
|
||||
MAILER_SMTP_URL="smtps://user@domain.com:pass@smtp.domain.com"
|
||||
MAILER_ADDRESS_FROM='"From Name Here" <from@example.com>'
|
||||
|
||||
# Auth Tokens Config
|
||||
JWT_SECRET='add some secret here'
|
||||
|
||||
Reference in New Issue
Block a user