Versions Compared

Key

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

...

1

Open theĀ Google API Console. It should look something like this.

Image RemovedImage Added

2Click "CREATE PROJECT" on the far right.
3Choose a Project name like "Gmail SMTP" or similar, then click "Create"

4Once the project is finished creating, click "ENABLE APIS AND SERVICES" on the main dashboard(:

5Search for and Select the Gmail API

6Click Enable.

...




1On the left sidebar, click "OAuth consent screen". Choose "External", then click the Create button.

2Enter information for your app. This will appear when logging in and asking for permissions. An app name like "Gmail SMTP" works here.

Image RemovedImage Added

3Click "ADD OR REMOVE SCOPES"

Image RemovedImage Added

4Filter on "mail.google.com", click the checkbox next to that result. Then click "Update" at the bottom of the screen(may need to scroll down to see it).

Image RemovedImage Added

5At the bottom of the screen there should now be an entry in the "Your Restricted Scopes" table. Click "SAVE AND CONTINUE"

6Click "+ ADD USERS". Add the email addresses of anyone that may use or request permissions from this API/app. When all are added, click "SAVE AND CONTINUE"

...

1Click "Credentials" on the left sidebar, then the "+ CREATE CREDENTIALS" at the top.

Image RemovedImage Added

2Choose "OAuth client ID"

3Choose "Desktop app" for Application type and name the app something similar to "Gmail Client". Then click Create.

4When the credentials are shown, copy the Client ID and Secret. These are the credentials that will be used when setting up the mail sender client. Or download the json which contains all the info as well.

5These credentials can then be found on the dashboard if they need to be edited or viewed later.

Image RemovedImage Added


Info

This entire process can be repeated multiple times if needed, however there is a limit to the number or projects and users that can be added.

...