WordPress Cheatsheet
Setup SMTP client using Google Workspace
Register a Google app
- Log in to Google Cloud Console.
- Create new project.
- Click Select a project > Create New Project.
- Name new project, then click Create.
- After project is created, click Select Project.
- Click Select a project > Create New Project.
- Enable GMAIL API.
- Select Hamburger menu > APIs & Services > Library.
- Search for and select GMAIL API.
Note: Can also search for GMAIL api or select Email in left menu. - Click Enable.
- Select Hamburger menu > APIs & Services > Library.
- Set up OAuth.
- Under APIs & Services, click OAuth Consent Screen.
- Under OAuth User Type, select External, then click Create.
- Under App information, add App name, then select User support email.
- Under App domain, add domain.
- Under Authorized domains, click Add domain, then enter domain where app will be deployed.
Note: Application home page, privacy policy, and service links are optional. - Under Developer contact information, add email and click Save and Continue.
- Under Authorized domains, click Add domain, then enter domain where app will be deployed.
- Under Scope, input is optional. Click Save and Continue.
- Under Test users, input is optional. Click Save and Continue.
- Under APIs & Services, click OAuth Consent Screen.
- Create OAuth client Credentials.
- Under APIs & Services, click Credentials.
- Select Create Credentials.
- Under Application type, select Web application, then under Name, give your OAuth ID a name.
- Under Authorized Javascript origins, input is optional.
- Under Authorized redirect URIs,
- Click Add URI. then enter the URI and click Create.
Note: FluentSMTP: https://fluentsmtp.com/gapi/
- Click Add URI. then enter the URI and click Create.
- Under APIs & Services, click Credentials.
- Copy new Client ID and Client Secret.
- Continue to Complete WordPress SMTP tool form section below.
Complete WordPress SMTP tool form
- Paste Client ID and Client Secret into corresponding WordPress SMTP tool fields.
- Add From Email and From Name.
Note: The From email must be the same email used to register Google App. - Click Authenticate with Google and Get Access Token.
- Sign in to linked Google account.
- Copy returned access code and pasted into Access Token field.
- SMTP client setup complete. Send test email.