Library to log into email server and read emails needed ASAP
I require a library for my assignment at work that can login to my mail server and read/send emails, much like imaplibrary. I've tried using imaplibrary but it seems to have some authentication and security issues with my mail server so I am looking for alternative libraries that I can try instead. Any recommendations are very helpful, thanks!
I will be using this library in my RIDE testcase, so it is used for automation purposes.
I've used the underlying library imaplib to authenticate into exchange and google before.
Originally Posted by lightcelestial
What type of authentication errors are you getting? If it's a SSH error, you may need to install some self signed certificates to avoid those.
I'm trying to connect to my company's outlook mail server. I use the server name I find in the outlook properties, along with my email address as the login ID and the password as the password. I'm using the "Open Mailbox" keyword on RIDE and it's says "Login failed". Do you know any possible reasons that this could be happening?
Originally Posted by dlai
Would suggest to use command line utility to retrieve emails and do the validation. Look at my blog - Software Testing tips: Verifying Email notifications
You are interested to validate the email and not the UI elements of any client (outlook, webmail etc).
Develop couple of Robot framework keywords with few parameters and then use in your test suite.