awangga / outlook

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

Outlook instance has no attribute 'imap' #6

Closed LakshmiRamya-G closed 7 years ago

LakshmiRamya-G commented 8 years ago

After downloading the python script files, I created a separate python file with the code "To get latest Unread Message in inbox" from Readme.md. Whenever I run this file, I get the ERROR- "Outlook instance has no attribute 'imap' ".

qig-smiller commented 7 years ago

I am experiencing this issue also

qig-smiller commented 7 years ago

I think this issue arises from the fact that the self.imap variable wasn't declared in the init method.

simply moving this declaration to init should solve the issue

i am unable to test this as I am having other login issues not relating to this variable.

awangga commented 7 years ago

this issues has fixed