Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Create Google Application

...

Go To create Google Application go to the Google Cloud Console. In the Navigation menu, select APIs & Services.

From the Menu, select Library and then search for Gmail API and enable API.

Image RemovedImage Added

Then select My Application and create a new project. Set the Projet Project Name and Location.

In the side menu select OAuth consent screen, select User Type and click on Create button.

Image RemovedImage Added

In App information, set App name and User support email. For Developer contact information set Email address.

Image RemovedImage Added

Add the following Scopes:

Image RemovedImage Added

In the menu, select Credentials, then Create Credentials and OAuth client ID.

Image RemovedImage Added

Set Enter Name and then set Application type to  to Web application. In Authorized redirect URIs URLs add Redirect URL from HostBill (Settings → Mail)

Image RemovedImage Added

Set up Gmail in HostBill

...

After creating Credentials, Client ID and Client Secret will be returned. These values must be set in HostBill in Mail Settings or in Additional mail senders.

Image RemovedImage Added

Set:

  • SMTP Email address
  • SMTP Hostname
  • Port
  • Authentication to OAuth2
  • Provider to Google

Then save the changes and press Connect. After successful AurotizationAuthorization, the Connection Token should be set.

Info

SMTP Hostname should contain ssl:// or tls://