Improvements to how emails are addressed for outgoing deliveries based on Microbiome core feedback
Changes the behavior of using an individual's email address as the From address to the Reply-To address
Sets the From address for all outgoing emails to settings.EMAIL_FROM_ADDRESS. This is similar to how most web applications that send email address them
Updates docker settings to read environment variable D4S2_EMAIL_FROM_ADDRESS for this address
Sets the Reply-To address for outgoing emails to the person that performed the action (so that replies to the delivery message are directed at a person)
Adds a reply_address field to EmailTemplateSet (can be blank), which will override the above if set (so that multiple users in a core can share a reply-to address)
Adds a cc_address field to EmailTemplateSet (can be blank), which will cause all emails sent from that template set to be CC'ed to the address (So that cores can keep a record of the delivery activities)
Improvements to how emails are addressed for outgoing deliveries based on Microbiome core feedback
From
address to theReply-To
addressFrom
address for all outgoing emails tosettings.EMAIL_FROM_ADDRESS
. This is similar to how most web applications that send email address themD4S2_EMAIL_FROM_ADDRESS
for this addressReply-To
address for outgoing emails to the person that performed the action (so that replies to the delivery message are directed at a person)reply_address
field toEmailTemplateSet
(can be blank), which will override the above if set (so that multiple users in a core can share a reply-to address)cc_address
field toEmailTemplateSet
(can be blank), which will cause all emails sent from that template set to be CC'ed to the address (So that cores can keep a record of the delivery activities)Fixes #198