Open-Historical-Map-Labs / openhistoricalmap-docker

A dockerized configuration to create the OpenHistoricalMap backend
9 stars 3 forks source link

Email Server set up for new users #18

Closed jimmyrocks closed 5 years ago

jimmyrocks commented 5 years ago

When a new user is created, a confirmation email is sent If no server is set in the variables, the email will not be sent, and the user cannot be validated (made active) We need to identify a server to use and set it in the environment variables.

mojodna commented 5 years ago

Environment variable support implemented in https://github.com/OpenHistoricalMap/ohm-website/pull/34

Amazon SES credentials created and registered in Parameter Store. ECS Task Definition updated to use values from Parameter Store and expose to Rails.

mojodna commented 5 years ago

Service limit increase for SES sent in order to get us out of the sandbox so we can send verification emails.

mojodna commented 5 years ago

ECS Task Definition created for Delayed Job, which handles queued tasks, e.g. sending emails.

CodePipeline updated to deploy updated jobs tasks alongside website.

mojodna commented 5 years ago

"Forgot my password" emails send now.

image

The return address on emails is temporarily set to me, as it needs to be verified within the SES Management Console.

mojodna commented 5 years ago

(Registering a new account does not appear to send email / require validation right now.)