Preferences/ConfigurationPages/EmailPage.py

changeset 1122
9871c792eaca
parent 1061
3e21869872e3
child 1131
7781e396c903
--- a/Preferences/ConfigurationPages/EmailPage.py	Sat Jun 11 19:13:00 2011 +0200
+++ b/Preferences/ConfigurationPages/EmailPage.py	Wed Jun 15 18:47:01 2011 +0200
@@ -117,7 +117,7 @@
         try:
             server = smtplib.SMTP(self.mailServerEdit.text(),
                                   self.portSpin.value(),
-                                  "", 10)
+                                  timeout=10)
             if self.useTlsCheckBox.isChecked():
                 server.starttls()
             try:

eric ide

mercurial