浏览代码

print hat für zusätzliche Admin-Mails gesorgt, daher auskommentiert

robert 2 年之前
父节点
当前提交
a4e083043e
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      mailserver/imap.py

+ 2 - 2
mailserver/imap.py

@@ -52,8 +52,8 @@ class Imap:
 
                 if self.is_valid_message(msg, domain):
                     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([att.filename for att in msg.attachments if att.filename.endswith('.pdf')])