From 9124d6226d8f6112b84f2a2bc7482417de9c25e9 Mon Sep 17 00:00:00 2001 From: Arun Persaud Date: Mon, 5 Aug 2013 12:13:07 -0700 Subject: [PATCH] email: fixed missing port argument for IMAPAuthenticationError Signed-off-by: Arun Persaud --- rss2email/email.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rss2email/email.py b/rss2email/email.py index 1b26a18..59fa21a 100644 --- a/rss2email/email.py +++ b/rss2email/email.py @@ -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) -- 2.26.2