Connecting to Gmail

LogTag® Analyzer has the ability to connect to Gmail's SMTP server using your Gmail account. Analyzer now supports the OAuth2 authorisation method, which makes it more secure to connect but requires a few simple steps extra when you initially set up automated email sending.

If you already connect to Gmail with an earlier version of Analyzer you will have enabled the option Allow less secure apps in your Google account settings. You can continue sending emails this way without changing any of the settings in Analyzer, however, we strongly recommend to use the more secure OAuth2 authorisation method, as described below.

To use this method, select Email settings from the Automation tab in Options. You will see the Email and SMTP settings dialogue. Click Use Gmail authorisation - the SMTP Server, Port and SSL/TLS fields will now be set up automatically.

SMTP and email settings for Gmail

Gmail settings selected

Do not enter anything else in the SMTP Server Settings section of the dialogue. Complete the remaining entries in the Email Settings, Attach file... and Advanced Settings sections.

Once complete, click Send test email. Have your Gmail logon and password details ready.

Your default browser will now open. You will be asked to select which Gmail account you wish to connect to. Enter the details of your Gmail account address.

Enter Gmail Account Details

Enter your Gmail account details

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Click Next and enter the account password.

Providing your password

Confirming the account password

 

 

 

 

 

 

 

 

 

 

 

 

Click Next and confirm that you agree to giving LogTag® Analyzer permission to send email from your Gmail account.

Account selection for Gmail Authorisation

Giving LogTag® Analyzer permission to send email on your behalf

Click Allow and your browser will show a message that it has successfully communicated with LogTag® Analyzer and set up the appropriate permissions.

OAuth Token Received

You can now close the browser window.

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

At the same time LogTag® Analyzer will inform you that the connection to the Gmail SMTP server was successful.

Successfully connected to Gamil SMTP server

Successfully connected to the Gmail SMTP server

When you now use the automated email function, the Gmail email will appear as the sender.

For security reasons this process needs to be completed within one minute. If you exceed the allowed time LogTag® Analyzer will display a time-out message.

SMTP Server Authorisation Timeout

Time-out from SMTP server

Unless you have other applications that need to connect to your Google account, you can now switch the setting Allow less secure apps to Off. You can check which other applications access your Google account in the section Apps with access to your account in the account settings.