awangga / outlook

Python library to read email from live, hotmail, outlook, office365 or any microsoft email service
342 stars 133 forks source link

imaplib.error: command SEARCH illegal in state AUTH, only allowed in states SELECTED #19

Open venky-123 opened 6 years ago

venky-123 commented 6 years ago

After logging in, my code is data = mail.readToday() print (data) and iam getting the error imaplib.error: command SEARCH illegal in state AUTH, only allowed in states SELECTED