Troubleshooting

Scan to Email Not Working? How to Fix SMTP for Gmail, Outlook and Microsoft 365

Most scan-to-email failures are sign-in problems: Gmail needs an app password and Microsoft 365 is retiring password sign-in for SMTP. Here are the settings and the fixes.

Large-format scanner connected to a computer workstation
Photo: AFINIS Group ® - AFINIS GASKET® Production on Unsplash
On this page
  1. Quick fixes first
  2. How does scan to email actually work?
  3. Where to change the settings: the embedded web server
  4. Settings by email provider
  5. Gmail: why your old password stopped working
  6. Microsoft 365: the basic authentication retirement
  7. Troubleshooting by error message
  8. Alternatives when scan to email can't be fixed

Scan to email fails when the printer cannot reach, or sign in to, the outgoing mail (SMTP) server saved in its settings. Most failures now come from sign-in changes: Gmail requires an app password, and Microsoft is retiring plain username-and-password sign-in for Microsoft 365 SMTP. Check the server, port, security type and credentials in the printer's embedded web server, then send a test.

Quick fixes first

  1. Write down the exact error on the printer's panel, or in the email log on its web settings page. The wording points straight at the cause.
  2. Open the printer's embedded web server by typing its IP address into a browser on the same network.
  3. Check the SMTP server name, port and security setting against the provider table below.
  4. Re-enter the sign-in details. For Gmail, that means a new app password, not your normal password.
  5. Set the printer's date, time and time zone correctly; a wrong clock can break secure connections.
  6. Send a one-page test scan at 200 dpi to rule out a file size problem.
Hand lifting the lid of a flatbed scanner
Intenza Fitness

How does scan to email actually work?

Illustration of a scanned page going from a printer into an envelope and the cloud

A printer does not have its own mailbox. When you scan to email, it behaves like a basic email program: it connects to an outgoing mail server, signs in, and hands over a message with the scan attached. The language for that hand-off is SMTP (Simple Mail Transfer Protocol), and five settings have to be right:

  • Server. The name of the outgoing server, such as smtp.gmail.com.
  • Port. The numbered door the printer connects to: usually 587, sometimes 465 or 25.
  • Security. STARTTLS (often labeled just TLS) on port 587, or SSL/TLS on port 465. The setting must match the port.
  • Authentication. The account the printer signs in as, and how: a password, an app password, or on newer firmware a Microsoft or Google sign-in (OAuth).
  • From address. The address the scan appears to come from. Most providers reject mail whose From address does not match the signed-in account.

The printer also needs a working DNS server in its network settings to look up the server name, and an accurate clock to check the server's security certificate. Printers set up with a manual IP address sometimes have neither.

Where to change the settings: the embedded web server

Almost every network printer has a built-in settings page, called the embedded web server (EWS), Web Config or Remote UI depending on the brand. Find the printer's IP address on its network settings screen or network configuration page (our guide to finding your printer's IP address covers every brand), then type it into a browser, for example 192.168.1.45. Your browser may warn about the printer's certificate; for your own printer's local address, it is fine to continue.

You will usually need an administrator password. On many recent printers it is printed on a label on the printer, sometimes shown as a PIN or Pwd; older models may use a default listed in the user guide. Menu names vary by model and firmware, but look for:

  • HP: the Scan tab, then Scan to Email and its outgoing email profiles.
  • Brother: an Email tab, or Network › Protocol › SMTP.
  • Canon imageCLASS: Settings/Registration, then the network and email settings.
  • Epson: Web Config under Network Settings, then Email Server.

Most of these pages include a Test or Connection Test button. Use it after every change, because it returns a clearer error than the printer's panel.

Settings by email provider

ProviderServerPortSecuritySign-inNotes
Gmail (personal)smtp.gmail.com587 (or 465)STARTTLS on 587, SSL on 465Full Gmail address and a 16-character app passwordNeeds 2-Step Verification turned on
Google Workspacesmtp-relay.gmail.com587, 465 or 25TLSUsually the office's public IP address, allowed in the Admin consoleGoogle's recommended route for devices; an admin sets it up
Microsoft 365 (sign-in)smtp.office365.com587STARTTLS, TLS 1.2 or laterMailbox address and password, or OAuth on printers that support itSMTP AUTH must be enabled for the mailbox; password sign-in is being retired
Microsoft 365 (relay or direct send)Your domain's MX host, ending in mail.protection.outlook.com25TLS (optional for direct send)Nothing on the printer; relay uses a connector tied to a static IP or certificateDirect send reaches internal recipients only
Outlook.com, Hotmail, Livesmtp-mail.outlook.com587STARTTLSMicrosoft sign-in (OAuth); some devices may accept an app passwordMany older printers can no longer sign in
ISP email (Xfinity, Spectrum, AT&T and others)From the ISP's help pagesUsually 587 or 465As the ISP specifiesFull email address and passwordPort 25 is often blocked on home connections

One detail from Microsoft's own guidance: if a device only offers port 465 for Microsoft 365, it does not support the TLS versions Microsoft requires for this method, so use 587 or one of the relay options instead.

Person placing a document on a flatbed scanner beside a computer
Roman Denisenko

Gmail: why your old password stopped working

Illustration of a printer protected by a shield and padlock, blocking an outside connection

Google no longer lets third-party devices sign in to Gmail with just the account password. A printer that stored your normal password fails with an authentication error even though the password is correct. For a personal Gmail account, the fix is an app password:

  1. Turn on 2-Step Verification in your Google Account under Security.
  2. Open the App passwords page (search for it in your Google Account settings), give it a name such as "Office scanner", and create it.
  3. Copy the 16-character code into the printer's SMTP password field, without spaces.
  4. Use your full Gmail address as both the username and the From address.

If the App passwords option does not appear, the account may use security keys only, be enrolled in Advanced Protection, or be a work or school account. Changing your Google password revokes existing app passwords, so the printer will need a new one afterward. Many offices create a separate Gmail account just for the scanner, so the stored credential never opens anyone's main mailbox.

Google Workspace accounts work differently. Google ended password-only sign-in for third-party apps and devices on Workspace in 2025 and recommends its SMTP relay service for printers, which is an Admin console job for whoever manages the account.

Microsoft 365: the basic authentication retirement

Microsoft is retiring basic authentication (a plain username and password) for SMTP AUTH client submission in Exchange Online, the method most printers use with smtp.office365.com. The schedule has moved more than once. Microsoft first planned to start rejecting these sign-ins in March 2026, then pushed that back; its most recent plan switches basic authentication for SMTP AUTH off by default at the end of December 2026, lets administrators turn it back on for a time, and sets a final removal date later. Check Microsoft's Exchange announcements for the current dates.

Many printers fail well before any deadline, because an administrator has disabled SMTP AUTH on the mailbox, turned on security defaults, or required multifactor sign-in. The printer reports an authentication error while nothing has changed on the printer itself. Your options, roughly from least to most work:

  • Update the firmware and look for Microsoft 365 or OAuth sign-in. Several manufacturers have added Microsoft 365 modern authentication to scan to email on business models through firmware updates. Check your model's support page, and see our guide to updating printer firmware safely.
  • Use SMTP relay through an Exchange connector. The printer sends to your domain's MX host on port 25, and a connector in the Exchange admin center accepts it based on your office's static public IP address or a certificate. It reaches outside recipients and needs no stored password.
  • Use direct send. Same MX host and port with no connector, but it only delivers to mailboxes in your own organization, and Microsoft has said it is working on an option to turn direct send off by default.
  • Use a third-party SMTP relay service. Transactional email services accept mail from devices and deliver it on your domain's behalf. They need DNS records for your domain and usually a monthly fee; check current pricing.
  • Stop emailing scans. Scan to a network folder, OneDrive or SharePoint instead, if your printer offers those destinations.

Outlook.com, Hotmail and Live accounts

Microsoft's settings page for personal accounts lists smtp-mail.outlook.com, port 587 with STARTTLS, and says Outlook.com requires modern authentication. It mentions app passwords for some devices, but many printers still cannot sign in. If yours cannot, move the printer to a Gmail app password or another route below.

ISP mailboxes

Mailboxes from Xfinity, Spectrum, AT&T, Verizon and other providers each have their own SMTP settings. Use the exact server and port from the provider's help pages, and expect to sign in with your full email address.

Troubleshooting by error message

Illustration of a printer control panel close-up with a warning triangle and a blinking light
Error on the printer or in its logLikely causeWhat to do
Authentication failed, 535 5.7.8 (Gmail) or 535 5.7.3 (Microsoft)Wrong password, or a normal password where an app password is requiredCreate a new app password, or test the mailbox password in a browser
5.7.139 basic authentication is disabled, or 5.7.57 client not authenticatedMicrosoft 365 is blocking password sign-in, or SMTP AUTH is off for the mailboxAsk the admin to check SMTP AUTH, or move to OAuth or relay
5.7.60 client does not have permissions to send as this senderThe From address differs from the sign-in accountMake the From address match, or grant Send As permission
Connection timed out, or cannot connect to serverWrong server name, blocked port, no DNS, or no internet on the printerCheck the spelling, try 587, and add a DNS server such as your router's IP
TLS, SSL or certificate errorSecurity type does not match the port, the clock is wrong, or old firmware lacks TLS 1.2Use STARTTLS on 587, fix the date and time, and update the firmware
Attachment or message too largeThe scan exceeds the provider's limit; Gmail caps messages at 25 MBLower the resolution, scan in black and white, or split the document
Test succeeds but the email never arrivesFiltered as junk, or a typo in the recipient addressCheck the Junk folder, and add SPF records for relay setups

Exact wording varies by printer and provider. Remember that attachments grow by about a third in transit because of how email encodes them, so a 20 MB scan can break a 25 MB limit. For multi-page paperwork, a 200 dpi grayscale PDF is usually readable and small.

Alternatives when scan to email can't be fixed

Scan to email stores mail credentials on a shared device, so treat it like any other login: use a dedicated account, and protect the embedded web server with a strong admin password, as covered in printer security basics. For offices juggling several devices, small office printer support explains how to keep them all working. If you would rather configure it with someone, our independent remote printer support plan covers every printer in your home or office.

United KingdomGmail and Microsoft 365 settings are the same in the UK. For BT, Sky or Virgin Media mailboxes, take the SMTP server and port from the provider's own help pages rather than an old printer manual.
CanadaRogers, Bell and Telus mailboxes each publish their own SMTP settings, so use the provider's current help page. Microsoft 365 and Gmail settings are identical to the US.
AustraliaTelstra and Optus mailboxes publish their own SMTP settings. Some NBN connections block port 25, so use port 587 with STARTTLS wherever the provider allows it.

Software mentioned in this guide

Printers covered here

Frequently asked questions

What SMTP settings do I use for scan to Gmail?

Use smtp.gmail.com with port 587 and STARTTLS, or port 465 with SSL if the printer prefers it. Enter your full Gmail address as the username and a 16-character app password as the password, not your normal Google password. The app password needs 2-Step Verification turned on in your Google Account first.

Why did scan to email suddenly stop working with Microsoft 365?

Most often an administrator has disabled SMTP AUTH for the mailbox, turned on security defaults, or required multifactor sign-in, any of which blocks a printer that signs in with just a password. Microsoft is also retiring basic authentication for SMTP. Ask whoever manages the tenant to check the mailbox, then move the printer to OAuth, a relay connector or scan-to-cloud.

Can I use my Outlook.com or Hotmail address for scan to email?

Possibly, but it is less reliable than it used to be. Microsoft lists smtp-mail.outlook.com on port 587 with STARTTLS and says personal accounts require modern authentication, with app passwords mentioned for some devices. Many older printers cannot complete that sign-in, so a Gmail account with an app password or a relay service is often the simpler route.

What does a scan to email connection timed out error mean?

The printer could not reach the mail server at all. Check the server name for typos, confirm the port, and make sure the printer has a DNS server and internet access in its network settings. Home internet providers often block port 25, so use 587. A printer with a manually set IP address and no DNS entry is a common cause.

Why do large scans fail to send by email?

Mail providers limit message size, Gmail at 25 MB, and email encoding makes attachments about a third larger than the file on disk. A long color scan at high resolution can easily cross that line. Scan at 200 dpi in grayscale or black and white, split long documents, or send large scans to a network folder or cloud storage instead.

Is it safe to store an email password on a printer?

It is a risk worth managing. Anyone who can open the printer's web settings may be able to change where scans go, and some older printers store credentials weakly. Use a dedicated account rather than a personal mailbox, prefer app passwords or relay methods, set a strong admin password on the printer, and keep its firmware updated.

PrinterSupport.io Editorial Team

Guides credited to the PrinterSupport.io Editorial Team are researched from the manufacturers' own support documentation and our editorial policy, and updated when menus, apps or policies change. Corrections go to help@printersupport.io.

Questions & comments (0)

No comments yet. Describe your printer model, operating system and the exact message you see; comments appear after review.

Ask about this page

Your comment appears after our team approves it. Or sign in to post faster.

Still stuck?

Let a printer specialist fix it with you, remotely

Share your screen, we diagnose the driver, Wi-Fi or firmware problem and fix it while you watch. One affordable annual plan covers every printer in your home or office.