Merge branch 'master' into feature/IMAPClient
This commit is contained in:
@@ -35,7 +35,7 @@ class MailConfirmationReader():
|
|||||||
# create an IMAP4 class with SSL
|
# create an IMAP4 class with SSL
|
||||||
imap = create_imap(self.login)
|
imap = create_imap(self.login)
|
||||||
# authenticate
|
# 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))
|
print("type is {} for {}".format(type, self.login))
|
||||||
mail_list = []
|
mail_list = []
|
||||||
print("read mails from {}".format(self.login))
|
print("read mails from {}".format(self.login))
|
||||||
|
|||||||
Reference in New Issue
Block a user