How to connect to Gmail
Gmail requires establishing secure connections (SSL/TLS). WebMail Lite supports SSL/TLS and can connect to Gmail.
To allow for logging into Gmail accounts, add a new mail server in admin area, specify
gmail.com domain for it, and make sure the following mail server details are supplied:
- Incoming mail:
- Outgoing mail:
You also need to make sure IMAP access is allowed in your Gmail account configuration, see "Forwarding and POP/IMAP" section of account settings.
then you'll be able to select Gmail option when using "Add New Account" button on Email Accounts screen of your user account settings.
NB: by default, Gmail only allows IMAP/SMTP access if you authenticate via OAuth. To make username/password authentication work, you may need to allow less secure apps to access your account. Check debug logs or enable detailed error output to check if that's the issue you're facing. It might also be necessary to enable account access from every new IP address.
Note that, despite the name, allowing access for less secure apps doesn't actually reduce your account security. For example, if you access Gmail with Microsoft Outlook or Mozilla Thunderbird, Google treats that as insecure, just like any other kind of username/password authentication.