Uncommented marking mail as read when processed
This commit is contained in:
@@ -183,7 +183,7 @@ def process_attachments(mailbox, attachment_path, saved_hashes, xml_docs,
|
||||
csv_to_xml(final_path, xml_path, dtd_path, csv_mapping)
|
||||
else:
|
||||
logging.info("Skipped duplicate attachment: %s", att.filename)
|
||||
#mailbox.flag(msg.uid, '\\Seen', True)
|
||||
mailbox.flag(msg.uid, '\\Seen', True)
|
||||
|
||||
def main():
|
||||
"""Code entrypoint."""
|
||||
|
||||
Reference in New Issue
Block a user