You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
from mailbot import MailBot, register
from mycallbacks import MyCallback
mailbot = MailBot('imap.myserver.com', 'username', 'password')
# register your callback
register(MyCallback)
# check the unprocessed messages and trigger the callback
mailbot.process_messages()
However whenever the code above is run, output = "ImportError: cannot import name 'MailBot'"
The text was updated successfully, but these errors were encountered:
I installed it through pip install mailbot. And it installed succesfully and registers as a package: 'mailbot==0.3'
From Docs: https://mailbot.readthedocs.org/en/latest/
However whenever the code above is run, output = "ImportError: cannot import name 'MailBot'"
The text was updated successfully, but these errors were encountered: