Skip to content

Pro-Mentor/mail-service

Repository files navigation

mail-service

project configuration

  • currently SES not used because of the SES not in production mode. Until that node mailer is tempararaly setuped
  • set up the AWS SES email service

  • go to AWS IAM Service and create a user and give the AmazonSESFullAccess to that user

  • then create and get Access keys to access that user

  • add the .env file for in the root directory and replace the followng valus

    • SES_EMAIL_ADDRESS = address used by the SES to send the emails
    • SES_ACCESS_KEY_ID = access key id of the IAM client that has AmazonSESFullAccess
    • SES_SECRET_ACCESS_KEY = secreat access key of the IAM client that has AmazonSESFullAccess
    • SES_REGION = region of the service
  • nodemailer setup with the gmail smpt server
    • NODEMAILER_EMAIL = email used to send emails
    • NODEMAILER_PASSWORD = app password for the account
HOST=sltc.app.promentor.local
PORT=8082
SERVICE_NAME=pro-mentor-mail-service

SES_EMAIL_ADDRESS=promentororg@gmail.com
SES_ACCESS_KEY_ID=****************
SES_SECRET_ACCESS_KEY=*************************
SES_REGION=us-east-1

NODEMAILER_EMAIL=promentororg@gmail.com
NODEMAILER_PASSWORD=**********

RABBITMQ_CONNECTION=amqp://admin:admin@localhost:5672

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published