diff options
author | Tomás Touceda <chiiph@leap.se> | 2013-08-02 13:19:50 -0300 |
---|---|---|
committer | Tomás Touceda <chiiph@leap.se> | 2013-08-02 13:19:50 -0300 |
commit | dbb8b11eab30d495492bd7f65430fb9c25e3a276 (patch) | |
tree | 5a85e54f2437bef479fdd8b13d2182021253d9ff /src/leap/gui | |
parent | 1b329b507a4ce430ece6629d2b0a8e40526ede3b (diff) |
Reintegrate SMTP module
Diffstat (limited to 'src/leap/gui')
-rw-r--r-- | src/leap/gui/mainwindow.py | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/leap/gui/mainwindow.py b/src/leap/gui/mainwindow.py index 395b9329..8e7e2488 100644 --- a/src/leap/gui/mainwindow.py +++ b/src/leap/gui/mainwindow.py @@ -982,12 +982,14 @@ class MainWindow(QtGui.QMainWindow): # TODO: Make the encrypted_only configurable from leap.mail.smtp import setup_smtp_relay + client_cert = self._eip_config.get_client_cert_path( + self._provider_config) setup_smtp_relay(port=1234, keymanager=self._keymanager, smtp_host=host, smtp_port=port, - smtp_username=".", - smtp_password=".", + smtp_cert=client_cert, + smtp_key=client_cert, encrypted_only=False) def _get_socket_host(self): |