Any python experts willing to share there knowledge, please?!
Want to:
1. Search ALL folders including SPAM, for "specific_user@ANY (wildcard) domain"
2. Move those emails to folder called DUMP
3. Delete contents of DUMP
Unfortunately I can't figure out how to do what I need above in Yahoo Mail!
My code so far below:
Imaplib [search, move, delete] Yahoo Mail
Want to:
1. Search ALL folders including SPAM, for "specific_user@ANY (wildcard) domain"
2. Move those emails to folder called DUMP
3. Delete contents of DUMP
Unfortunately I can't figure out how to do what I need above in Yahoo Mail!
My code so far below:
Code:
import imaplib import time ####### IMAP SSL ####### start = time.time() try: imap_ssl = imaplib.IMAP4_SSL(host="imap.mail.yahoo.com", port=993) except Exception...