Sage 100: Gmail SMTP Authentication Changes Requiring OAuth
Google turned off password-only SMTP access, and older Sage 100 has no OAuth setting. Here is the working Gmail OAuth configuration for Sage 100 2021+, and the options if you are on an older version.
Google stopped letting third-party apps sign in to Gmail with only a username and password — first announcing the end of "less secure app" access, then enforcing it for consumer Gmail accounts on May 30, 2022. Sage 100 sends Paperless Office e-mail (invoices, statements, orders) through the SMTP settings in Company Maintenance, and on older releases those settings are exactly what Google withdrew: a server, a user name, a password, and an encryption choice. There is no authentication-method setting to flip on those versions, and no password — however correct — will make the login succeed once Google enforces the change.
What you do about it depends entirely on your Sage 100 version. On Sage 100 2020.6 and later, Sage added a real OAuth authentication method (the Gmail configuration in Sage KB is documented for 2021 and later), and the fix is a one-time configuration. On 2020 and earlier, there is no OAuth setting, and the honest options are an App Password where Google allows one, a different sending account, or an upgrade.
The fix
Sage 100 2020.6 and later — configure OAuth for Gmail
You need an OAuth client from Google first, then the matching values in Sage 100:
- In Google Cloud Platform, create an OAuth 2.0 client for the app and note the Client ID and Client Secret Google issues.
- In Sage 100, open Library Master > Main > Company Maintenance, select your company code, and go to the E-mail tab.
- Set Authentication Method to OAuth.
- Enter the Gmail values exactly:
- Address: smtp.gmail.com
- Port: 587
- SMTP Encryption: TLS
- User ID: your Gmail address (or the address set up to send through Gmail)
- Client ID: from Google Cloud Platform
- Client Secret: from Google Cloud Platform
- Auth End Point: https://accounts.google.com/o/oauth2/auth
- Token End Point: https://oauth2.googleapis.com/token
- Scope: https://mail.google.com/
- Redirect URI: http://localhost
- Code Challenge Method: S256
- Accept the settings and send a test e-mail from Company Maintenance. Complete the Google authorization prompt when it appears — OAuth works by granting Sage 100 a token, not by storing your Gmail password.
- Repeat for each company code you send mail from. E-mail settings are per company; setting one company does not configure the others.
If the test fails, do not guess at the fields — Sage's own troubleshooting starts with the Chilkat error log (Chilkat is the mail component Sage 100 uses). Responses such as 535 5.7.8 Username and Password not accepted mean the server rejected the login method or credentials, which on a Gmail account almost always means Basic authentication is still in play somewhere, or the OAuth values do not match the Google Cloud client.
Sage 100 before 2020.6 — your real options
Releases before 2020.6 have no OAuth authentication method, and no setting unlocks one. If you are on 2020, apply product update 6 or later first — OAuth was added in 2020.6. In the original Community Hub discussion, a Sage product-team reply said the issue had been added to the backlog for the 2020 and 2019 product updates and that the Chilkat engine supported OAuth — but OAuth itself shipped in the 2020.6 product update, and the Gmail configuration in Sage KB is documented for 2021 and later. Plan on one of these instead:
- App Password (where your Google account allows it). Turn on 2-Step Verification on the Google account, generate an App Password in the Google account's security settings, and put that App Password — not the account password — in the Password field in Company Maintenance, keeping Basic authentication with smtp.gmail.com, port 465, encryption SSL. This is the route consultancies documented for consumer Gmail accounts when Google's password-only cutoff landed on May 30, 2022. Note that Google's old "Allow less secure apps" toggle no longer exists; the App Password is the mechanism that replaced it.
- Send from a different account. Sage's KB guidance for pre-2021 versions facing multi-factor authentication is to use another e-mail configuration that does not require the extra verification step — for example a sending account on a provider your Sage version can still authenticate to.
- Upgrade (or apply the 2020.6 product update) and use the OAuth configuration above. If Gmail or Microsoft 365 sending is business-critical, this is the durable fix; the workarounds age with every provider policy change. (For Microsoft 365 OAuth specifically, Sage documents 2021.4 / 2022.1 or higher.)
Causes / why this happens
- Google changed what a login is. Password-only access tells Google nothing about which app is signing in. OAuth replaces the password with a scoped, revocable token issued after you authorize the specific app — which is why the configuration needs a Client ID and Client Secret from your own Google Cloud project rather than a checkbox in Sage.
- The gap was in older Sage 100, not in your typing. The original poster had the settings exactly as older Sage 100 presented them — server, user, password, encryption. When the provider withdraws that method, correct data entry cannot save it.
- MFA breaks Basic the same way. Any account where a second verification step is mandatory — Google or Microsoft — cannot complete a plain SMTP login from a version of Sage 100 that has no way to pass that step. The symptom (test e-mail fails, Chilkat log shows an authentication rejection) is identical; only the provider differs.
Per-context variants
Microsoft 365 / Office 365 sending: the same OAuth method applies on 2021.4 / 2022.1 or later, with Address smtp.office365.com, port 587, TLS, and the Client ID, endpoints, and scope from your Microsoft app registration (Sage's documented scope for that configuration is https://outlook.office.com/SMTP.Send offline_access; Microsoft does not require a Client Secret in Sage's example). Do not copy the Gmail endpoints into a Microsoft configuration or vice versa.
Google Workspace accounts: Google's consumer-Gmail enforcement date (May 30, 2022) did not apply to Workspace accounts on the same timetable. If your Workspace sending still works under Basic today, treat that as borrowed time, not as proof you are exempt — move to OAuth on your own schedule if you are on 2020.6+.
Earlier consultancy write-ups: some 2021/2022-era guides show Redirect Port 3017 and Code Challenge Method None where the current Sage KB shows S256. If a configuration copied from an older guide fails its test send, align those two fields with the current Sage KB for your build before changing anything else.
What doesn't work
- Re-entering the Gmail account password. Once Google enforces the cutoff for the account, the correct password is rejected under Basic authentication. Repeated attempts produce repeated 535 authentication errors, not a breakthrough.
- Hunting for the "less secure apps" switch. Google permanently disabled that setting. Any guide that ends with turning it on is out of date.
- Looking for an OAuth option on Sage 100 2020 or earlier. It is not hidden in another tab or behind an advanced setting — the Authentication Method field with an OAuth choice first appears in the 2020.6 product update.
- Assuming one company's settings cover all companies. Company Maintenance e-mail settings are maintained per company code; a second company keeps failing until it is configured too.
Affected versions
- OAuth configuration: first added in Sage 100 2020.6; the Gmail configuration in Sage KB is documented for 2021 and later (Microsoft 365 OAuth: 2021.4 / 2022.1 or higher, with the relevant hotfixes included in 2021.5 / 2022.2).
- No OAuth available: Sage 100 releases before 2020.6 — App Password, alternate sending account, or update/upgrade.
- The original question was raised against the 2019/2020-era releases, when Google first announced the less-secure-app shutdown.
Prevention / best practice
- Configure OAuth before a provider deadline forces the issue — a lapsed sending account is usually discovered by a customer who never received an invoice.
- Keep the Google Cloud project's Client ID and Secret documented with your other Sage administration records; if the project is deleted or the secret is rotated, Sage sending breaks until Company Maintenance is updated.
- After any Sage 100 upgrade, product update, or mail-provider change, send a test e-mail from every company code, not just the main one.
- Keep the Chilkat log location in your troubleshooting notes — it is the difference between a five-minute diagnosis and an afternoon of guessing.
Related help
- SMTP Server Address for Office 365
- Emailing Invoices from Sage 100
- Sage Exchange 2.0 Update
- Sage 100 Compatibility with Windows 10
- Paperless Office Journal/Register Directory Invalid or Not Accessible
Still stuck? Send us a screenshot of the error, we will diagnose it for free.
Digit Masters has supported Sage 100 and Sage 300 since 1997. Send the screenshot through our contact page or to contact@digitmasters.com, or call (800) 965-4262.