mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-08-24 00:07:02 -04:00
Make reply to address dependent on sending intent
We have a number of go live requests where people have said they’re sending email, but haven’t set up a reply-to address. At the moment we don’t prompt them to, because we look at whether they have email templates as indicative of whether they’re going to send email. Now that we explicitly ask for the volumes of email they’re sending we should use this to determine whether or not we prompt them to set up an email reply to address because it’s a stronger signal of intent than what templates they’ve set up.
This commit is contained in:
@@ -226,7 +226,7 @@ class Service():
|
||||
|
||||
@property
|
||||
def needs_to_add_email_reply_to_address(self):
|
||||
return self.has_email_templates and not self.has_email_reply_to_address
|
||||
return self.volume_email and not self.has_email_reply_to_address
|
||||
|
||||
@property
|
||||
def shouldnt_use_govuk_as_sms_sender(self):
|
||||
|
||||
Reference in New Issue
Block a user