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

Install Telnet Client

These instructions applies to Windows 10 and 11.

  1. Open Control Panel and select Programs and Features.
  2. Select Turns Windows Features on or off.
  3. Scroll down the list and check 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: on port 25 type:
    telnet 25
  • Should respond with its welcome banner.
  • Replace with your SMTP server address.

Send the HELO command

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

  1. Send the HELO command. Type:
  • Should respond with Hello.
  • Replace with your email domain.

Use the MAIL FROM command

  1. Use the MAIL FROM command to specify the sender. Type:
    mail from:
  • Should respond with Sender OK.
  • Replace with a valid email address.

Use the RCPT TO command.

  1. Use the RCPT TO command to specify the receiver. Type:
    rcpt to:
  • Should respond with Recipient OK.
  • Replace with a valid email address.

Use the DATA command to send data

  1. Use the DATA command to send data. Type:
  • Should respond with Start mail input; end with ..
  • 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 like. Use SUBJECT and then type your subject line, and press enter.
  1. Use SUBJECT and end message with period.
    subject: this is a test
  • Should respond with Queued mail for delivery.


Was this helpful?

Yes No
You indicated this topic was not helpful to you ...
Could you please leave a comment telling us why? Thank you!
Thanks for your feedback.

Post your comment on this topic.

Please do not use this for support questions.
Printix Support

Post Comment