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.
- Open the Control Panel and select Programs and Features.
- Select Turn Windows Features on or off.
- Scroll down the list and select Telnet Client.
- Select OK.
Send email from the command line via Telnet
Connect to the SMTP server:
-
Open a Command prompt.
-
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.
-
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:
-
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:
-
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:
-
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 ..
-
Use SUBJECT and end message with period.
subject: this is a test.
Should respond with Queued mail for delivery.