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

Install Telnet Client

These instructions applies to Windows 10.

  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: acme-com.mail.protection.outlook.com) on port 25 type:
    telnet acme-com.mail.protection.outlook.com 25
  • Should respond with its welcome banner.
  • Replace acme-com.mail.protection.outlook.com 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:
    helo acme.com
  • Should respond with Hello.
  • Replace acme.com with your email domain.

Use the MAIL FROM command

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

Use the RCPT TO command.

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

Use the DATA command to send data

  1. Use the DATA command to send data. Type:
    data
  • 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.

Feedback

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