support number password

This commit is contained in:
2023-04-06 19:44:53 +02:00
parent 640f4be789
commit b6d1c42c07
+1 -1
View File
@@ -35,7 +35,7 @@ class MailConfirmationReader():
# create an IMAP4 class with SSL
imap = create_imap(self.login)
# authenticate
type, dat = imap.login(self.login, self.password)
type, dat = imap.login(self.login, str(self.password))
print("type is {} for {}".format(type, self.login))
mail_list = []
print("read mails from {}".format(self.login))