To make scan to email work, a printer needs an SMTP server, a port, a security mode and a way to authenticate. The fastest reliable setup in 2026 is usually a relay rather than a personal mailbox: either your email provider’s IP-authenticated relay, or a transactional relay that accepts a username and password over TLS. Personal Gmail and Microsoft 365 logins are increasingly blocked for devices.
The four settings every printer asks for
Printer menus differ between HP, Xerox, Kyocera, Canon, Brother and Ricoh, but they all ask for the same things, usually in the printer’s web page (type its IP address into a browser):
| Setting | What to enter |
|---|---|
| SMTP server (gateway, mail server) | A hostname like smtp-relay.gmail.com, never an IP address |
| Port | 587 for STARTTLS, 465 for SSL/TLS, 25 for an IP-trusted relay |
| Security (SSL/TLS, STARTTLS, encryption) | Match the port: STARTTLS on 587, SSL/TLS on 465 |
| Authentication | Username and password, or none if the relay trusts your IP |
| From / device email address | An address on your own domain, like scanner@yourdomain.com |
Before changing anything, update the printer’s firmware. Many older devices only support TLS 1.0 or 1.1, which Gmail and Microsoft 365 reject. A firmware update often adds TLS 1.2 and fixes “cannot connect to server” on its own.
Option 1: Google Workspace SMTP relay
If your company uses Google Workspace, the SMTP relay is built for this. An admin enables it under Apps, Google Workspace, Gmail, Routing, adds the office’s static public IP, and allows addresses in your domain.
| Printer setting | Value |
|---|---|
| Server | smtp-relay.gmail.com |
| Port | 587 with TLS, or 25 without |
| Authentication | Off (the relay trusts your IP) |
| From | scanner@yourdomain.com |
Google’s printer and app guide lists two other choices: smtp.gmail.com with an app password (2,000 messages a day, TLS required), and aspmx.l.google.com on port 25, which needs no TLS but only delivers to Gmail and Workspace users.
Option 2: Microsoft 365
Microsoft’s guide for multifunction devices gives three methods:
| SMTP AUTH | SMTP relay (connector) | Direct Send | |
|---|---|---|---|
| Server | smtp.office365.com |
yourdomain-com.mail.protection.outlook.com |
Same MX host |
| Port | 587 | 25 | 25 |
| TLS | 1.2 or 1.3 required | Recommended | Optional |
| Login | Licensed mailbox | Static IP or certificate on a connector | None |
| External recipients | Yes | Yes | No |
SMTP AUTH is the one most printers try first, and it is the one that is going away for basic passwords. Microsoft disables Basic auth for SMTP AUTH by default for existing tenants at the end of December 2026. Very few printers support OAuth.
The connector relay is the durable answer for an office with a static IP. Create an inbound connector in the Exchange admin center that trusts that IP, add the IP to your SPF record, and point the printer at your MX host on port 25.
If the printer says it wants port 465, Microsoft notes that the device does not support the TLS versions SMTP AUTH needs. Use the connector instead. The Office 365 SMTP guide has the full details.
Option 3: a transactional SMTP relay
If you have no static IP, the office uses a mix of providers, or you want the printer’s mail kept separate from staff mail, a transactional relay with a username and password works well. With Mailcandor:
| Printer setting | Value |
|---|---|
| Server | smtp.mailcandor.com |
| Port | 587 (STARTTLS) or 465 (SSL/TLS) |
| Username | mailcandor |
| Password | An API key |
| From | scanner@yourdomain.com on a verified domain |
Create a sending-only API key locked to one domain for each device. If someone pulls the key off the printer’s web page, it can only send from that domain, and you can revoke it without affecting anything else. This needs a printer that supports TLS 1.2, so update firmware first. See the SMTP relay page.
Brand notes: HP, Xerox, Kyocera
HP. In the Embedded Web Server, open Scan, Scan to Email, Outgoing Email Profiles (wording varies by model). The “SMTP server requires authentication” checkbox must be ticked for any login-based server, and “Enable SMTP SSL Protocol” turns on encryption. HP’s setup wizard can test the connection before you save.
Xerox. Settings live under Connectivity, Protocols, SMTP (or Properties, Connectivity, Setup, SMTP). Xerox separates “Connection security” (STARTTLS or SSL/TLS) from the port, so set both. Xerox devices also have a “Device email address” that becomes the From address.
Kyocera. In Command Center RX, open Function Settings, E-mail. Set SMTP Server Name, Port Number, SMTP Security (STARTTLS or SSL/TLS), and turn on SMTP Authentication. Use the “Test” button; Kyocera reports the server’s reply code, which tells you exactly what failed.
Menus change with firmware, so if a label is missing, search your model’s admin manual for “SMTP.”
Troubleshooting scan to email
| Message on the printer | What it means | Fix |
|---|---|---|
| Cannot connect to the SMTP server | Wrong host, blocked port, or TLS version mismatch | Check the hostname; try the other port; update firmware |
| SMTP server requires authentication | No login sent | Enable SMTP authentication, or switch to an IP-trusted relay |
| Authentication failed / 535 | Wrong password or wrong password type | Use an app password or API key, not an account password |
| Requires a secure connection / 530 | Logged in without TLS | Turn on STARTTLS or SSL/TLS; see this guide |
| Scans arrive in spam | Domain authentication fails | Add the relay to SPF, enable DKIM, add a short text body |
Also check the clock. A printer with the wrong date can fail TLS certificate checks, which shows up as “cannot connect.”
Finally, pick a port with care: many office firewalls block outbound port 25 from everything except the mail server. The SMTP ports guide covers which port does what.