Python Forum
IMAP select command - Printable Version

+- Python Forum (https://python-forum.io)
+-- Forum: Python Coding (https://python-forum.io/forum-7.html)
+--- Forum: General Coding Help (https://python-forum.io/forum-8.html)
+--- Thread: IMAP select command (/thread-37991.html)



IMAP select command - Linh_lee - Aug-18-2022

How can I change this IMAP select command from "INBOX" to "any" on a Yahoo mailbox?

I want to search ALL mailboxes.

############### Set Mailbox Yahoo mail #############
resp_code, mail_count = imap_ssl.select(mailbox="INBOX", readonly=True)



RE: IMAP select command - Larz60+ - Aug-19-2022

I don't use this package, but found the following which may (or may not) be of use to you: https://stackoverflow.com/a/25329682


RE: IMAP select command - Linh_lee - Aug-19-2022

(Aug-19-2022, 01:18 PM)Larz60+ Wrote: I don't use this package, but found the following which may (or may not) be of use to you: https://stackoverflow.com/a/25329682

It's a start, thank you Larz60! :)