14 May
2022
14 May
'22
1:08 p.m.
eek! you need to _select_a_folder_ and then _fetch_mails_in_that_folder_ . the message numbers for each folder start from 1 and increase. each mail also has a uid that uniquely identifies it. i used to know some of this stuff! when you fetch mails, each mail has properties like a dictionary or db table. you specify which properties you want fetched. for each mailbox, the EXISTS property says how many messages are there. the message numbers of the messages change as the mailbox changes, but the uids are only changed under certain conditions that can be engaged with somehow (they aren't affected by moving the message, whereas the number is)