Skip to content

Commit

Permalink
feat(mailing): enabled smtp mailer III
Browse files Browse the repository at this point in the history
  • Loading branch information
thejoeejoee committed Nov 21, 2023
1 parent 2f6a2d1 commit 672a49c
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions fiesta/fiesta/settings/notifications.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
class SmtpMailerConfigMixin(BaseConfigurationProtocol):
MAILER_PRIMARY_BACKEND = Value(default="django.core.mail.backends.smtp.EmailBackend")
MAILER_PRIMARY_TIMEOUT = Value(default=5)
MAILER_PRIMARY_HOST_USE_TLS = Value(default=True)
MAILER_PRIMARY_HOST = SecretValue()
MAILER_PRIMARY_HOST_PORT = SecretValue()
MAILER_PRIMARY_HOST_PASSWORD = SecretValue()
Expand Down Expand Up @@ -36,3 +37,7 @@ def EMAIL_HOST_USER(self):
@property
def EMAIL_HOST_PASSWORD(self):
return self.MAILER_PRIMARY_HOST_PASSWORD

@property
def EMAIL_USE_TLS(self):
return self.MAILER_PRIMARY_HOST_USE_TLS

0 comments on commit 672a49c

Please sign in to comment.