mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-06-10 06:24:45 +02:00
Send invitation email when invite is created
This commit is contained in:
parent
1e77bd9bf6
commit
8338704315
4 changed files with 64 additions and 7 deletions
|
@ -469,7 +469,9 @@ class DomainApplication(TimeStampedModel):
|
|||
nothing.
|
||||
"""
|
||||
if self.submitter is None or self.submitter.email is None:
|
||||
logger.warning("Cannot send confirmation email, no submitter email address.")
|
||||
logger.warning(
|
||||
"Cannot send confirmation email, no submitter email address."
|
||||
)
|
||||
return
|
||||
try:
|
||||
send_templated_email(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue