post_file Method
Uploads a message stored in a file to the current mailbox on the IMAP server.
Syntax
def post_file(filename: str, flags: int, internal_date: str) -> None: ...
Remarks
Use this method to upload an e-mail message stored in a file to current_mailbox.