4.2.2-1 • Published 2 years ago

coins-mail-daemon v4.2.2-1

Weekly downloads
4
License
MIT
Repository
github
Last release
2 years ago

coins-mail-daemon

On start coins-mail-daemon fetches all unsent messages from the mrsdba.mrs_mail table and queues timeouts internally to send each email based on the records send_date. Additionally coins-mail-daemon also uses Postgres notify events on the dd channel to listen for new records inserted into the mrs_mail table.

.env Environment Variables

Coins-Mail-Daemon loads configuration via dotenv

  • For local development copy .env.example to .env and edit it's values appropriately
  • In deployment however these values are set on the host as Environment Variables via Ansible deploys

Required Variables (Local Dev)

VariableDefaultEdit Required
COINS_ENVNO (See: #Recipient Override below )
ADMIN_EMAILcoinsdev@trendscenter.org
SMTP_HOSTsmtp.gmail.comPossibly
SMTP_PORT465Possibly
SMTP_USERNAMEYES
SMTP_PASSWORDYES
SMTP_MAX_CONNECTIONS1NO
SMTP_RATE_DELTA300000NO
SMTP_RATE_LIMIT60NO
DB_HOSTlocalhost
DB_PORT5432
DB_DATABASEcoins
DB_USERNAME_NODE_APIpostgresPossibly
DB_PASSWORD_NODE_APIYES

Recipient Override

Emails created from a non-production server are sent to an admin email account instead of the specified recipient.

  • COINS_ENV=PRODUCTION
    • emails are sent to the intended recipient like normal
  • Any other COINS_ENV (for example: COINS_ENV=development)
    • email's sendTo field will be overwritten with the ADMIN_EMAIL value
4.2.2-1

2 years ago

4.2.1

5 years ago

4.2.0

6 years ago

4.1.5

6 years ago

4.1.4

6 years ago

4.1.3

6 years ago

4.1.2

6 years ago

4.1.1

6 years ago

4.1.0

6 years ago

4.0.2

6 years ago

4.0.1

6 years ago

4.0.0

6 years ago

3.0.3

7 years ago

3.0.2

7 years ago

3.0.1

7 years ago

3.0.0

7 years ago

2.0.0

8 years ago

1.1.2

8 years ago

1.1.1

8 years ago

1.1.0

8 years ago

1.0.6

8 years ago

1.0.5

8 years ago

1.0.4

8 years ago

1.0.3

8 years ago

1.0.2

8 years ago

1.0.1

8 years ago

1.0.0

8 years ago