This article describes the steps that are necessary to test the Simple Mail Transfer Protocol (SMTP) service for any system.
Test the SMTP Service
To test the SMTP service, follow these steps:
- On Windows 2000, at a command prompt, type Telnet and press ENTER.
- At the telnet prompt, type set Local_Echo and press ENTER, and then type open <machinename> 25 and press ENTER.
The output resembles the following:
220 computername.microsoft.com ESMTP Server (Microsoft Exchange Internet Mail Service 5.5.2651.58) ready
- Type helo me and press ENTER.
The output resembles the following:
- Type mail from:email@domain.com and press ENTER.
The output resembles the following:
250 OK - mail from <email@domain.com>
- Type rcpt to:youremail@yourdomain.com and press ENTER.
The output resembles the following:
250 OK - Recipient <youremail@yourdomain.com>
- Type Data and press ENTER.
The output resembles the following:
354 Send data. End with CRLF.CRLF
- Type Subject:This is a test and press ENTER twice.
- Type Testing and press ENTER.
- Press ENTER, type a period (.), and press ENTER.
The output resembles the following:
- Type quit and press ENTER.
The output resembles the following:
221 Closing Port / Mail queued for delivery