How to troubleshoot scan to email

Use Telnet from the command line to troubleshoot scan to email.

Install Telnet Client

These instructions apply to Windows 10 and 11.

  1. Open the Control Panel and select Programs and Features.
  2. Select Turn Windows Features on or off.
  3. Scroll down the list and select Telnet Client.
  4. Select OK.

Send email from the command line via Telnet

Connect to the SMTP server:

  1. Open a Command prompt.

  2. To connect to the SMTP server (example: acme-com.mail.protection.outlook.com) on port 25, type:

    telnet acme-com.mail.protection.outlook.com 25

    Replace acme-com.mail.protection.outlook.com with your SMTP server address.

    Should respond with its welcome banner.

Send the HELO command:

Some mail servers will accept the HELO on its own, others will require you to also provide a host or domain name along with it.

  1. To send the HELO command, type:

    helo acme.com

    Replace acme.com with your email domain.

    Should respond with Hello.

Use the MAIL FROM command:

  1. Use the MAIL FROM command to specify the sender. Type:

    mail from: john@acme.com

    Replace john@acme.com with a valid email address.

    Should respond with Sender OK.

Use the RCPT TO command:

  1. Use the RCPT TO command to specify the receiver. Type:

    rcpt to: jane@acme.com

    Replace jane@acme.com with a valid email address.

    Should respond with Recipient OK.

Use the DATA command to send data:

  1. Use the DATA command to send data. Type:

    data

    If you just want to send a blank message, type a period (.) and press Enter. Otherwise, you can set a subject line for the message if you want. Use SUBJECT and then type your subject line, and press enter.

    Should respond with Start mail input; end with ..

  2. Use SUBJECT and end message with period.

    subject: this is a test.

    Should respond with Queued mail for delivery.