email: fixed missing port argument for IMAPAuthenticationError
authorArun Persaud <apersaud@lbl.gov>
Mon, 5 Aug 2013 19:13:07 +0000 (12:13 -0700)
committerArun Persaud <apersaud@lbl.gov>
Wed, 7 Aug 2013 16:56:42 +0000 (09:56 -0700)
Signed-off-by: Arun Persaud <apersaud@lbl.gov>
rss2email/email.py

index 1b26a18ff26655634bd3dfb9714c1de3978d9667..59fa21ab584f24662838f6fff1a33d0d3978ef7b 100644 (file)
@@ -190,7 +190,7 @@ def imap_send(message, config=None, section='DEFAULT'):
                 raise
             except Exception as e:
                 raise _error.IMAPAuthenticationError(
-                    server=server, username=username)
+                    server=server, port=port, username=username)
         mailbox = config.get(section, 'imap-mailbox')
         date = _imaplib.Time2Internaldate(_time.localtime())
         message_bytes = _flatten(message)