CodeWithAloha / uipa

Helping submit, track, and share public records requests in Hawaii
http://uipa.org
MIT License
10 stars 6 forks source link

task: email configuration settings #90

Closed tyliec closed 2 months ago

tyliec commented 3 months ago

Context

This pull requests enables the sending of FOI emails to public bodies.

Testing

Note: Brian has sent me the previous Postmark credentials, if you want to test this PR (and enable the sending of emails) reach out to me on Slack (codewithaloha.slack.com) and I shall provide them to you.

When testing this, both the ENABLE_EMAIL and the other related email configuration environment variables need to be set (depending on what you are trying to test). You should also not send a test email to a "real" public body on the development portal, as that will actually send a real email to that entity. You should create some sort of test public body and send all emails to that test entity.

Example FOI Email Received

Screenshot 2024-04-06 at 1 26 14 PM

Related Items

https://github.com/CodeWithAloha/uipa/issues/89

russtoku commented 2 months ago

Another thing (off topic) is the TIME_ZONE setting. We should set it in uipa_org/settings/base.py to Pacific/Honolulu. Without that, it is set to Europe/Berlin.