Xerox “016-764 / 016-765” — SMTP auth failed (Scan to Email)
Joe B.
Reviewed for technical accuracy
Specialities: Xerox MFPs, Scan to Email, Microsoft 365/Google Workspace, SMTP/TLS, Firewalls & DNS
Fix Xerox SMTP authentication errors — Office 365 (Exchange Online), Gmail app password, ports 587/465, STARTTLS/TLS, OAuth2/basic
Quick answer: the accepted fix
Accepted fix when Xerox shows 016-764 / 016-765 (SMTP authentication failed): use the correct method for your provider—Microsoft 365 with SMTP AUTH enabled + app password on port 587 STARTTLS; Gmail/Google Workspace with app password on 465 SSL/TLS; or a SMTP relay connector with IP allow-list. Match the From address, sync time (NTP), and trust the server certificate.
Why Xerox shows SMTP auth failed (O365, Gmail, on-prem Exchange)
Modern providers enforce MFA, app passwords, and TLS. Using a shared mailbox to authenticate, mismatched From, disabled SMTP AUTH for the user, expired password, or broken certificate/NTP all trigger 016-764 / 016-765. Decide between authenticated SMTP or a relay connector, then configure the Xerox to match ports (587/465/25) and security (STARTTLS / SSL).
How to verify Scan to Email is healthy
Use the Xerox Test SMTP in the web interface. Send to both an internal and an external address. Check headers to confirm TLS and the correct From. If a failure returns, read the SMTP transcript (Auth failed, TLS negotiation, 5.7.57/5.7.60), then adjust: enable SMTP AUTH, regenerate app password, allow the MFP’s public IP, or upload the proper CA certificate.
Xerox SMTP — quick troubleshooting tips
Most failures are auth method, port/security mismatch, or certificate/time issues.
Quick path: choose provider profile → enable SMTP AUTH or set SMTP relay → create app password (O365/Gmail) → set server smtp.office365.com:587 STARTTLS or smtp.gmail.com:465 SSL/TLS → match From to login → sync NTP → test to internal & external recipients.
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 do Xerox codes 016-764 and 016-765 mean?
They indicate SMTP authentication failed or a TLS negotiation problem while sending email. Typical causes: MFA without app password, disabled SMTP AUTH, wrong port/security, mismatched From address, invalid certificate, or time/DNS issues.
How do I fix Scan to Email with Microsoft 365?
Enable SMTP AUTH for the user, create an app password, set smtp.office365.com port 587 with STARTTLS, and use the same address for login and From. Or configure a SMTP relay connector with your public IP.
How do I fix Scan to Email with Gmail/Google Workspace?
Use smtp.gmail.com port 465 SSL/TLS (or 587 STARTTLS), enable 2-Step Verification, and sign in with a Gmail app password. Set From to that same user.
Can I send from a shared mailbox or “noreply”?
For O365 authenticated SMTP, the From must match the signed-in user unless you use Send As permissions. To send as multiple addresses, configure a SMTP relay connector (IP allow-list) instead.
| Symptom | Likely cause | Quick fix |
|---|---|---|
| 016-764 / 016-765 on O365 | MFA/basic auth conflict; SMTP AUTH off | Enable SMTP AUTH; create app password; port 587 STARTTLS |
| Gmail fails to authenticate | Regular password; wrong port | Use app password; 465 SSL/TLS or 587 STARTTLS; From = login |
| Sends internally only | Using local relay without connector | Configure SMTP relay in M365/Exchange; allow the MFP IP |
| TLS handshake error | Cert trust/time/DNS | Upload CA certificate, enable NTP, verify DNS & firewall |
Step-by-step (Xerox web UI)
- Open the device’s web page → Properties → Apps → Email → SMTP.
- Choose your provider: smtp.office365.com:587 STARTTLS or smtp.gmail.com:465 SSL/TLS (or your relay host/port).
- Set Authentication as required. For O365/Gmail use mailbox user@domain.com with an app password. For relay, choose No Authentication and allow the MFP IP on the server.
- Set Device From Address to match the authenticated account (or an address allowed by your relay).
- Under Connectivity → NTP/DNS, enable time sync and working DNS. Upload needed trusted CA certificates.
Notes for mixed environments (networks & security)
- Bypass SSL inspection for smtp.office365.com and smtp.gmail.com.
- Allow outbound TCP 25/465/587. Some ISPs block 25; use 587 or a relay.
Sources
- Microsoft — Set up devices/apps to send mail with Microsoft 365
- Google — Send email from a printer/scanner using Gmail
- Xerox Support — VersaLink/AltaLink Email (SMTP) setup
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?