Technical FAQs

Ask a Question

How does one check whether the SMTP server is rejecting emails?

Issue
User would like to test SMTP server to send email

Product Line
ION Meters with Alert modules
Software requiring SMTP server to send emails

Environment
Command prompt

Cause
Sometimes SMTP servers are configured to accept emails only from certain computers and/or user account. 

Resolution
Items highlighted below need to be modified to match system

To test the SMTP service, follow these steps: 
1) Open Command prompt and type Telnet, and then press ENTER

2) Type set LocalEcho, press ENTER, and then type open <machinename or IP address> 25, and then press ENTER.

The output resembles the following:
220 computername.microsoft.com ESMTP Server (Microsoft Exchange Internet Mail Service 5.5.2651.58) ready

3) Type helo me, and then press ENTER.

The output resembles the following:
250 OK

4) Type mail from:email@domain.com, and then press ENTER. 

The output resembles the following:
250 OK - mail from <email@domain.com>
5) Type rcpt to:youremail@yourdomain.com, and then press ENTER.

The output resembles the following:
250 OK - Recipient <youremail@yourdomain.com>

6) Type Data, and then press ENTER.

The output resembles the following:
354 Send data.  End with CRLF.CRLF

7) Type Subject:This is a test, and then press ENTER two times.

8) Type Testing, and then press ENTER.

9) Press ENTER, type a period (.), and then press ENTER.

The output resembles the following:
250 OK

10) Type quit, and then press ENTER.
The output resembles the following:
221 Closing Port / Mail queued for delivery

Details on these steps can be found in the link below:
http://support.microsoft.com/kb/323350

Was this helpful?
What can we do to improve the information ?