Skip to main content

Connect Google Gmail Mail Server

LogicalDOC can connect to Gmail in two ways:  using a Google App Password or using OAuth 2.0 authentication. OAuth is the recommended, more secure method, but it requires additional setup in Google Cloud. For a simpler configuration, you can use an App Password, which is available if your Google account has 2-Step Verification enabled.

Connecting LogicalDOC to Gmail Using an App Password

To generate your App Password, you can follow the instructions on this page

Once generated, Insert the App Password in LogicalDOC by simply going to Administration > Settings > Outgoing Email

  1. In the Protocol field, put: SMTP
  2. In the Server field, put: smtp.gmail.com
  3. In the Port field put: 465
  4. In the Username field, put the same mailbox
  5. In the Password field, put the created App Password

google security
 

Finally, test the successful integration by clicking on the Test Connection button 

Connecting LogicalDOC to Gmail Using OAuth

OAuth provides a more secure and modern authentication method for connecting LogicalDOC to Gmail without storing your password. To set it up, you can follow the instruction on this page