From c7d074abdecb714f7f6be19f9edcec74c90bfd55 Mon Sep 17 00:00:00 2001 From: Nikolaus Schulz Date: Wed, 1 Nov 2006 20:25:09 +0000 Subject: Streamlined verbose IMAP messages a bit. --- archivemail.py | 4 ++-- 1 file 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: -- cgit v1.2.3