1
0
Fork 0

Update mail.py

This commit is contained in:
– sanz 2023-04-16 20:38:18 +08:00 committed by GitHub
parent 44acf50bf4
commit f1d84fbf45
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -33,6 +33,6 @@ class Mail:
def get_message_content(self, message_id: str): def get_message_content(self, message_id: str):
return self.get_message(message_id)["mail_body"] return self.get_message(message_id)["mail_body"]
if __name__ == "__main__": # if __name__ == "__main__":
client = Mail() # client = Mail()
client.get_mail() # client.get_mail()