Commit Graph

3 Commits

Author SHA1 Message Date
Patrick Melanson 73bbf6bb33 Use currently-logged-in user to authenticate for mass email sending.
Basically, this commit removes email sending code that asked the
user for a CSC username and email to authenticate to an SMTP server
to send a mass email. Now, we just use the system utility 'sendmail'
to do it, which means you don't have to enter in your email creds
to send a mass email once you're already logged in.

2017-08-28 16:51:14 -04:00
Patrick Melanson c812a6634e Quality-of-life improvements to email reminders.
-Tweaked email body wording
-Added To: field
-Added librarian@ as a recipient of reminder emails
-Added a confirmation that emails were sent
-Added ability to cancel email sending (by using cancel button)
-Added a nice confirmation dialog at the end of sending
 reminder emails to keep the librarian's hopes up
2017-07-29 16:46:41 -04:00
Charlie Wang bff0abf3aa Refactor email reminder code
- Pull out email generation into a new module so that the email
message itself can be tested.
- Add a "backdoor" for the email login screen that writes emails to
text files under test_emails/ instead of sending them.
- Add a GNU expect script to automate email reminder testing using
the above features.
2017-02-04 12:21:05 -05:00