rickypc / robotframework-imaplibrary

IMAP email testing library for Robot Framework
https://pypi.python.org/pypi/robotframework-imaplibrary
Apache License 2.0
21 stars 35 forks source link

Extended open_mailbox to support folders #5

Closed jhoward321 closed 7 years ago

jhoward321 commented 7 years ago

I needed functionality to open a mailbox to a certain folder so I extended your functionality. Also included unit tests. There was one weird bug with the .select call where I had to do some trickery with quotes to get it to work. I believe its a bug in the imaplib library. The functionality without specifying folder is maintained since .select() defaults to 'INBOX' in imaplib to begin with.

jhoward321 commented 7 years ago

Forgot to add wait_for_email folder stuff