We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9aa8456 commit 2875611Copy full SHA for 2875611
src/MailClientLibrary/mailclient/protocols/pop3.py
@@ -108,6 +108,7 @@ def open_mail_by_index(self,index:int):
108
"""
109
if self.is_inbox_empty():
110
return False
111
+ index = int(index)
112
if index in self.data:
113
byte_lines = self.pop3obj.retr(index)[1]
114
messageText = str(message_from_bytes(b'\r\n'.join(byte_lines)))
0 commit comments