imaplib
How to tell whether imaplib2 idle response resulted from timeout
I\'m using imaplib2 (docs) to interact with an IMAP server. I\'m using the idle command, with a timeout and a call开发者_C百科back.[详细]
2023-02-18 14:38 分类:问答Parsing Message-ID header returned by imaplib
I\'m fetching the messageid from emails in Gmail via IMAP. This code: 开发者_StackOverflow社区messageid = m.fetch(num, \'(BODY[HEADER.FIELDS (MESSAGE-ID)])\')[详细]
2023-02-14 20:33 分类:问答error handling with imaplib in python
When I use this line: m = imaplib.IMAP4(\"some host\") I get this error: m = imaplib.IMAP4(\"some host\")[详细]
2023-02-03 04:44 分类:问答Parsing IMAP responses in python
I am using imaplib to work with imap in python, however it looks like it doesn\'t have means to parse the details of IMAP responses. For example, query like:[详细]
2023-01-30 19:39 分类:问答How to copy a message from one imap server to another imap server using Python imaplib?
I want to copy a message from one IMAP server to another IMAP server. I don\'t want to alter any of the message data. I\'m using python imaplib.[详细]
2023-01-25 05:36 分类:问答Deleting using google IMAP (python, imaplib)
When I use google IMAP and try to delete message the messag开发者_运维问答e removes from folder but not going to trash folder. Did i must to copy this message before delete it?With the new Gmail advan[详细]
2023-01-23 02:55 分类:问答Problem deleting emails in gmail using imaplib
I try to remove message from inbox folder and all alright, but when i switched to All Mail folder the removing does not work. expunge() method returns (\'OK\', [None]) and message was not removed:[详细]
2023-01-21 13:32 分类:问答How to get UID of mail in All Maill folder if I have UID of this mail in inbox using imaplib? (GMail)
How to get UID of mail in All Maill fol开发者_开发知识库der if I have UID of this mail in inbox using imaplib?[详细]
2023-01-20 04:47 分类:问答How to create an email and send it to specific mailbox with imaplib
I am trying to use python\'s imaplib to create an email and send it to a mailbo开发者_开发技巧x with specific name, e.g. INBOX. Anyone has some great suggestion :).The IMAP protocol is not designed to[详细]
2023-01-17 16:33 分类:问答Is it possible to check if an email contains an attachement just from the e-mail header?
I am developing an email client in Python. Is it possible to check if an email contains an attachement just from the e-mail hea开发者_运维百科der without downloading the whole E-Mail?Try IMAP4.fetch([详细]
2023-01-15 05:25 分类:问答