summaryrefslogtreecommitdiff
path: root/src/leap/email
diff options
context:
space:
mode:
Diffstat (limited to 'src/leap/email')
-rw-r--r--src/leap/email/smtp/smtprelay.py16
1 files changed, 10 insertions, 6 deletions
diff --git a/src/leap/email/smtp/smtprelay.py b/src/leap/email/smtp/smtprelay.py
index 5123db25..7a647717 100644
--- a/src/leap/email/smtp/smtprelay.py
+++ b/src/leap/email/smtp/smtprelay.py
@@ -152,12 +152,16 @@ class EncryptedMessage():
# this will be replaced by some other mechanism of obtaining credentials
# for SMTP server.
def getSMTPInfo(self):
- f = open('/media/smtp-info.txt', 'r')
- self.smtp_host = f.readline().rstrip()
- self.smtp_port = f.readline().rstrip()
- self.smtp_username = f.readline().rstrip()
- self.smtp_password = f.readline().rstrip()
- f.close()
+ #f = open('/media/smtp-info.txt', 'r')
+ #self.smtp_host = f.readline().rstrip()
+ #self.smtp_port = f.readline().rstrip()
+ #self.smtp_username = f.readline().rstrip()
+ #self.smtp_password = f.readline().rstrip()
+ #f.close()
+ self.smtp_host = ''
+ self.smtp_port = ''
+ self.smtp_username = ''
+ self.smtp_password = ''
class GPGWrapper():