8omas, Thanks for helping. I was finally able to login. The main part I was missing was the @mydomain.com from the username.
Also, I can't use Localhost as my server. It still tells me it can't connect to the IMAP server, however if I use the domain name it works. Is there any reason this could be an issue and cause problems later on?