|
@@ -52,8 +52,8 @@ class Imap:
|
|
|
|
|
|
if self.is_valid_message(msg, domain):
|
|
if self.is_valid_message(msg, domain):
|
|
mb.move(msg.uid, subfolder)
|
|
mb.move(msg.uid, subfolder)
|
|
- else:
|
|
|
|
- print(domain, ', '.join(msg.to), msg.subject)
|
|
|
|
|
|
+ # else:
|
|
|
|
+ # print(domain, ', '.join(msg.to), msg.subject)
|
|
# print(msg.text)
|
|
# print(msg.text)
|
|
# print([att.filename for att in msg.attachments if att.filename.endswith('.pdf')])
|
|
# print([att.filename for att in msg.attachments if att.filename.endswith('.pdf')])
|
|
|
|
|