diff options
author | Folker Bernitt <fbernitt@thoughtworks.com> | 2015-11-04 14:25:39 +0100 |
---|---|---|
committer | Folker Bernitt <fbernitt@thoughtworks.com> | 2015-11-04 14:25:39 +0100 |
commit | 4bc459e55331f8a07a676598bac264d54fb818d7 (patch) | |
tree | 505044c189dbee122fec42c47b1104940928f82f /service | |
parent | 5b29217cdea1bfd487bfe8ee064559a88540ca58 (diff) |
Enable new MailSender and disable the local smtp one
- Issue #499
Diffstat (limited to 'service')
-rw-r--r-- | service/pixelated/config/services.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/service/pixelated/config/services.py b/service/pixelated/config/services.py index cd475228..e4bf394c 100644 --- a/service/pixelated/config/services.py +++ b/service/pixelated/config/services.py @@ -55,11 +55,11 @@ class Services(object): self.search_engine = search_engine def setup_mail_service(self, leap_session, search_engine): - pixelated_mail_sender = LocalSmtpMailSender( - leap_session.account_email(), - leap_session.smtp) + # pixelated_mail_sender = LocalSmtpMailSender( + # leap_session.account_email(), + # leap_session.smtp) - MailSender(leap_session.smtp._smtp_config, leap_session.nicknym.keymanager) + pixelated_mail_sender = MailSender(leap_session.smtp._smtp_config, leap_session.nicknym.keymanager) return MailService( pixelated_mail_sender, |