learning-unlimited / ESP-Website

A website to help manage the logistics of large, short-term educational programs
82 stars 57 forks source link

Allow named mailboxes in comm panel #3752

Closed willgearty closed 1 month ago

willgearty commented 2 months ago

This allows admins to use named "mailboxes" (e.g., "Will's Server \info@test.learningu.org\") in addition to normal email addresses ("info@test.learningu.org") in the comm panel. I've changed the default "From" email address to make this clearer (in addition to adding text to the Big Red Box TM).

Fixes #3750.

willgearty commented 2 months ago

Thanks for taking a look @hwatheod! For automated emails that are not tied to a program (e.g., grade change confirmation email) we default to info@domain and this is not customizable. For other program-specific automated emails we use the director email address which is now info@domain by default, but can be customized using the program settings to any x@domain email address or mailbox. For comm panel emails, we also default to a info@domain mailbox, but this can be changed to any x@domain email address or mailbox.

willgearty commented 2 months ago

@kkbrum thanks for spotting that. I've reverted the changes to the director_email field. As far as I can tell, a name is always added whenever we use that field, so we can just have it be a normal email address (no mailboxes).