lookit / lookit-api

Codebase for Lookit v2 and Experimenter v2. Includes an API. Docs: http://lookit.readthedocs.io/
https://lookit.mit.edu/
MIT License
10 stars 18 forks source link

Send all emails from same MIT domain and move lab email to reply-to #1357

Closed becky-gilbert closed 7 months ago

becky-gilbert commented 7 months ago

Fixes #1356

This PR does two key things:

  1. Removes the optional 'from_email' argument from the send_email helper function, because we are now always sending email from the default MIT email address (specifically the EMAIL_FROM_ADDRESS in project settings).
  2. In cases where we were sending email "from" a lab email address, this PR adds the lab email to the "reply-to" email header.

A few implementation notes:

sonarcloud[bot] commented 7 months ago

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
0.0% Duplication on New Code

See analysis details on SonarCloud