Welcome to Code Forum!

Join a community that supports you and your coding journey from day one. We strive to be a friendly, supportive community that empowers everyone to be better developers. By registering with us, you'll be able to discuss, share and private message with other members of our community.

SignUp Now!

imaplib

  1. Linh Lee

    Python imap_ssl.search one letter name

    resp_code, mails = imap_ssl.search(None, '(FROM "a")') I want to search emails from a specific one letter named user, "a". Example: <[email protected]> <[email protected]> Problem is, search results cause all users with an "a" as part of their name to be returned. Example: [email protected]...
  2. Linh Lee

    Python Yahoo imaplib errors

    Want to search folder "SPAM", for specific_user@any domain, and delete found mail. Code below ... import imaplib box = imaplib.IMAP4_SSL('imap.mail.yahoo.com', 993) box.login("[email protected]","xxxxxxxxxx") box.select('SPAM') typ, data = box.search(None, 'from','name@*.*') for num in...
  3. Linh Lee

    Python Imaplib [search, move, delete] Yahoo Mail

    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...
Back
Top Bottom