- Built-in OAuth: Lexmark models with recent firmware can sign in to Microsoft 365 or Gmail with OAuth 2.0. Older models only support passwords.
- Auth-Email: works with every Lexmark that supports SMTP. Your device signs in to Auth-Email with a password, and Auth-Email signs in to Microsoft 365, Outlook or Gmail with OAuth. See our scan to email guide.
- Gmail app password: personal Gmail accounts with 2-Step Verification can create an app password and use it instead of the normal password.
- Microsoft 365 without signing in: direct send (to your own organization only) or an SMTP relay connector (needs a fixed public IP address). Set either up with our Exchange Online PowerShell command builder.
Lexmark scan to email setup
How to set up – or fix – scan to email on Lexmark CX, MX, XC and XM series devices with Microsoft 365, Outlook.com and Gmail. Menu names vary between models and firmware versions, so look for the closest match.
1. Open the Embedded Web Server
Type the printer’s IP address into a web browser and log in as the administrator.
Then go to: Settings → Email → Email Setup
2. Enter the SMTP settings
The settings are usually called:
| Primary SMTP Gateway | The SMTP server name |
|---|---|
| Primary SMTP Gateway Port | The SMTP port |
| Use SSL/TLS | Choose Negotiate or Required (STARTTLS) for port 587 |
| SMTP Server Authentication | Choose Login / Plain, then set Device-Initiated Email to “Use Device SMTP Credentials” and enter the user ID and password |
| Reply Address | The sender address – it must match the account you sign in with |
Enter these values, depending on your email provider:
Microsoft 365 / Outlook – through Auth-Email (recommended)
| Primary SMTP Gateway | outlook.auth-email.com |
|---|---|
| Primary SMTP Gateway Port | 465 (or 587) |
| Use SSL/TLS | SSL/TLS on 465; STARTTLS on 587 |
| SMTP Server Authentication | On – your full email address, and the password you set in Auth-Email |
| Reply Address | The same address you sign in with (or one it has permission to send as) |
Gmail / Google Workspace – through Auth-Email (recommended)
| Primary SMTP Gateway | gmail.auth-email.com |
|---|---|
| Primary SMTP Gateway Port | 465 (or 2525) |
| Use SSL/TLS | SSL/TLS on 465; STARTTLS on 2525 |
| SMTP Server Authentication | On – your full email address, and the password you set in Auth-Email |
| Reply Address | The same address you sign in with (or one it has permission to send as) |
Microsoft 365 – directly (SMTP AUTH)
| Primary SMTP Gateway | smtp.office365.com |
|---|---|
| Primary SMTP Gateway Port | 587 |
| Use SSL/TLS | STARTTLS (TLS 1.2 or later) |
| SMTP Server Authentication | On – the mailbox address and password. SMTP AUTH must be enabled for the mailbox, and Microsoft is retiring password sign-in |
| Reply Address | The same address you sign in with (or one it has permission to send as) |
Gmail – directly (app password)
| Primary SMTP Gateway | smtp.gmail.com |
|---|---|
| Primary SMTP Gateway Port | 587 (or 465) |
| Use SSL/TLS | STARTTLS on 587; SSL/TLS on 465 |
| SMTP Server Authentication | On – your full Gmail address, and an app password (needs 2-Step Verification) |
| Reply Address | The same address you sign in with (or one it has permission to send as) |
Auth-Email’s servers for other providers – and legacy servers for devices that only support older TLS versions – are listed in our server settings guide. Older devices that can’t use TLS 1.2 can’t connect to Microsoft 365 or Gmail directly at all.
3. Choose how the Lexmark signs in
Troubleshooting Lexmark scan to email
| Email server connection failed / SMTP server not set up | The printer couldn’t connect to or sign in to the email server. |
|---|
- Lexmark’s Email Setup page can test the connection.
- Set “Require Trusted Certificate” only once the connection works.
- Devices often show a vague error. To see exactly what the Lexmark sends, point it at our SMTP connection tester – it shows the encryption, TLS version and sign-in method the device uses.
- Check the email provider’s server with our email server checker, and look up the server’s error in our error code lookup – for example 535 5.7.139 (Microsoft), 421 4.7.66 (old TLS versions) or 534-5.7.9 (Gmail).
- Use a dedicated mailbox for the device (for example, [email protected]), so that a password change or a staff member leaving can’t break scanning.
Guides for other brands:
Canon · HP · Ricoh · Xerox · Brother · Konica Minolta · Kyocera · Sharp · Epson · Toshiba
Get your Lexmark scanning to email again
Auth-Email works with any Lexmark printer, scanner or copier that supports SMTP. Authorize your Microsoft 365, Outlook or Gmail account once, then change the SMTP server on the device – no firmware updates or IT changes needed.
Frequently asked questions
Why did scan to email stop working?
Most printers and scanners sign in to email with a username and password. Microsoft 365, Outlook.com and Gmail have switched off (or are switching off) password sign-in, so the device’s sign-in is rejected – usually with an error such as 535 5.7.139 or 534-5.7.9.
Which SMTP settings should my printer use for Microsoft 365?
smtp.office365.com, port 587, with STARTTLS (TLS) and SMTP authentication – but this requires password sign-in for SMTP, which Microsoft is retiring. Alternatives are direct send, an SMTP relay connector, the device’s own OAuth support (if it has it), or Auth-Email.
Do I need a separate mailbox for my scanner?
It’s a good idea. A dedicated mailbox (for example, [email protected]) means a staff member’s password change can’t break scanning, and makes it easy to see what the device sends.