shgli
shgli
the folder name is ZT_AFZ, it in Latin alphabet,
I changed the folder name from 'ZT_AFZ' to 'TEST' when paste.This issue is caused by 126 server, when I using imapclient (a python module) do the same thing, and got...
if no client.id_(parameters={"name": "dwn_mail", "version": "1.0"}), python error: imaplib.error: select failed: SELECT Unsafe Login. Please contact [email protected] for help
import os import sys import email import mimetypes from imapclient import IMAPClient import datetime if 3 != len(sys.argv): print(f'usage:{os.path.basename(sys.argv[0])} save_pth from_date') sys.exit(0) save_dir, since_date=sys.argv[1:] user='[email protected]' password='xx' host='imap.126.com' since_date = int(since_date)...