aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNikolaus Schulz <microschulz@web.de>2006-11-01 20:25:09 +0000
committerNikolaus Schulz <microschulz@web.de>2006-11-01 20:25:09 +0000
commitc7d074abdecb714f7f6be19f9edcec74c90bfd55 (patch)
tree1eacd7e19e7f7b06adead191daa2b26df5aaf129
parentd79da0ae99b5b7533a40d2ab26ef8d5c98ef5305 (diff)
downloadarchivemail-c7d074abdecb714f7f6be19f9edcec74c90bfd55.tar.gz
archivemail-c7d074abdecb714f7f6be19f9edcec74c90bfd55.tar.bz2
archivemail-c7d074abdecb714f7f6be19f9edcec74c90bfd55.zip
Streamlined verbose IMAP messages a bit.
-rwxr-xr-xarchivemail.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/archivemail.py b/archivemail.py
index 6a0308f..7a373cb 100755
--- a/archivemail.py
+++ b/archivemail.py
@@ -1313,11 +1313,11 @@ def _archive_imap(mailbox_name, final_archive_name):
imap_password = getpass.getpass()
if mailbox_name[:5] == 'imaps':
- vprint("Using SSL")
imap_srv = imaplib.IMAP4_SSL(imap_server)
+ vprint("established secure connection to server %s" % imap_server)
else:
imap_srv = imaplib.IMAP4(imap_server)
- vprint("connected to server %s" % imap_server)
+ vprint("established connection to server %s" % imap_server)
try:
result, response = imap_srv.login_cram_md5(imap_username, imap_password)
except imaplib.IMAP4.error: