awangga/outlook

Outlook instance has no attribute 'imap'

Closed this issue · 3 comments

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' ".

I am experiencing this issue also

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.

this issues has fixed