diff options
-rwxr-xr-x | archivemail.py | 4 |
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: |