Gmail SMTP with legacy MFP — app passwords / OAuth2 relay workaround
Joe B.
Reviewed for technical accuracy
Specialities: Google Workspace, Gmail SMTP, MFP scan‑to‑email, Networking, macOS/Windows/Linux
Scan to email via Gmail — legacy MFP SMTP, app passwords, smtp.gmail.com, smtp-relay.gmail.com, OAuth2 proxy
Quick answer: the accepted fix
Accepted fix for “Gmail SMTP not working on legacy MFP”: use a Gmail app password with smtp.gmail.com (port 465/587, TLS),
or configure Google Workspace SMTP relay on smtp-relay.gmail.com with IP allow‑list and TLS. If neither fits, deploy a small OAuth2 SMTP proxy (Postfix/msmtp) that the copier uses as a smarthost.
Stopped after “less secure apps” change — what to do
Google removed basic password SMTP access. MFPs must use app passwords, the Workspace SMTP relay, or an OAuth2 relay workaround. Avoid plain SMTP without TLS and keep the sender address consistent with authentication.
Test and verify Gmail SMTP
Send a test email to an external mailbox. Check the copier log and Gmail Sent. If you see 530 5.7.0 Must issue a STARTTLS command first, enable STARTTLS or switch to port 465 (SSL).
For 550 5.7.1 bounces, review SPF/DKIM/DMARC and allowed senders on the SMTP relay.
Gmail SMTP — troubleshooting tips
Most scan‑to‑email failures are wrong ports, missing TLS, or accounts without 2‑Step Verification.
Quick path: confirm time/NTP → enable TLS (465/587) → use app password or Workspace SMTP relay → verify SPF/DKIM/DMARC → limit attachment size.
Disclaimer: This information is AI-generated and intended for general guidance only. For advice specific to your environment, please consult a verified expert on Whizz-Tech before making decisions.
Getting Started Is Easy
Ask for help, 24/7
Members enjoy round-the-clock access to 12,000+ verified Experts, including tech support, mechanics, vets, and more.
Expert will respond in minutes
We match you with an Expert who specializes in your situation. Talk, text, or chat — whichever you prefer.
Save time & money
No scheduling hassles or expensive consults. Membership can save you significant time and money each month.
FAQ
What SMTP settings work with a legacy MFP and Gmail?
Use smtp.gmail.com port 465 (SSL) or 587 (STARTTLS), authentication on, username = full email, password = app password. For Workspace, consider smtp-relay.gmail.com with IP allow‑listing.
Do I need 2‑Step Verification for app passwords?
Yes. App passwords only appear after enabling 2‑Step Verification for the sending account.
Can I avoid storing credentials on the copier?
Yes. Use Google Workspace SMTP relay (IP‑based) or a local OAuth2 proxy that relays mail to Gmail with XOAUTH2.
Why do messages bounce?
Check SPF/DKIM/DMARC, recipient limits, and attachment size. Ensure the “From” address is allowed in your relay rule.
Does Gmail limit scan‑to‑email?
Gmail enforces sending limits and anti‑spam checks. Use a dedicated scanner mailbox and the official SMTP relay for higher reliability.
| Symptom | Likely cause | Quick fix |
|---|---|---|
| 535 5.7.8 Username and Password not accepted | No app password or 2‑Step Verification | Enable 2‑SV; generate app password; use TLS on 465/587 |
| 530 5.7.0 Must issue a STARTTLS command first | TLS disabled or wrong port | Enable STARTTLS on 587 or switch to SSL on 465 |
| 550 5.7.1 relay denied | Workspace relay not configured | Add IP to allow‑list; require TLS; set allowed senders |
| Emails go to spam | Missing SPF/DKIM/DMARC | Publish SPF, enable DKIM, set DMARC policy |
Step‑by‑step (App password method)
- Enable 2‑Step Verification on the scanner mailbox.
- Generate a Gmail app password and copy the 16‑character code.
- On the MFP, set server
smtp.gmail.com, port 465/587, TLS on, username = full email, password = app password. - Send a test email; keep the From equal to the auth account.
Step‑by‑step (Workspace SMTP relay)
- In Admin console, configure SMTP relay service (IP allow‑list, require TLS, allowed senders).
- On the MFP, use
smtp-relay.gmail.comport 587 (STARTTLS) or 465 (SSL). - Set a valid sender (e.g.,
scan@yourdomain.com) and test to internal and external recipients.
Sources
Filed under: Printers
Related articles
- Printer says “Offline” and won’t print — what should I check first?
- My printer “forgot” my Wi-Fi — the saved network is gone
- Printer Wi-Fi settings reset by itself — why did it forget my network?
- My printer keeps popping up “Set up Wi-Fi” again — why won’t it stay connected?
- Why does my printer need Wi-Fi setup again? It was working yesterday.
- My printer Wi-Fi setup keeps failing — what am I doing wrong?
- Printer Wi-Fi setup is confusing — why won’t it connect to my network?
- Printer Wi-Fi setup is too complicated — what do I check first without messing it up?