When using Gmail as your email services provider, you might have to follow a few extra steps to make sure everything is set up correctly.
The host/port for gmail is: imap.gmail.com:993
The following steps need to be done for gmail:
- Log in to Gmail.
- Click the gear in the top right.
- Click Settings.
- Click the Forwarding and POP/IMAP tab.
- In the IMAP Access section, select Enable IMAP.
- Click Save Changes.
- Go to www.google.com/settings/security/lesssecureapps. Select the option to Turn on access for less secure apps.