Submit a ticketCall us

Looking to compare latest NPM features with previous versions of NPM?
The NPM new feature summary offers a comparison of new features and improvements offered with this release.

 

Home > Success Center > Network Performance Monitor (NPM) > Test SMTP server connectivity via telnet

Test SMTP server connectivity via telnet

Overview

 

If Orion alerts are functioning properly and the logs show that a message was sent to the SMTP server, but you didn't receive the expected email, you may need to troubleshoot connectivity between Orion and your SMTP server.

 

Environment

All NPM versions

 

Resolution

 

If a user is not getting email and you want to test the SMTP server, you can use telnet to send a test email. This will verify connectivity to the SMTP server from the Orion server.

 

Important Note: This test must be performed on the Orion server experiencing the issue. It is not a valid test to perform from your workstation or PC.


Key:
Blue text indicates a command you will type in. 
Red italics indicates a key press

 

1. First, check if telnet is installed:

a. Start > Run > CMD > telnet <smtp-server> <port> <enter>

                  Example:  telnet 10.110.108.21 25 <enter>

 

If telnet is not installed, you will get something like this:

test_smtp_server_1.png

 

2. To install Telnet, please refer to Microsoft website. 

 

a. Start > Run > CMD <enter>

b.pkgmgr /iu:"TelnetClient" <enter>

Example:

test_smtp_server_2.png

 

If telnet IS installed, you will get something like this after entering the above command (telnet 10.110.108.21 25):

test_smtp_server_3.png

 

3. Type the following to send a test email:

  • ehlo me and press <enter>
    test_smtp_server_4.png
  • mail from: <sender-email> <enter>
    test_smtp_server_5.png
  • rcpt to: <recipient-email> <enter>
    test_smtp_server_6.png
  • data <enter>
    • test_smtp_server_7.png
    • subject: Test 123 <enter>
    • <enter>
    • Hi there, this is a test <enter>
      test_smtp_server_8.png
    • Finally, to finish the email, type a period (.) and <enter>
      • test_smtp_server_9.png
      • You should get a 250 OK - that means it was successful 
      • If you do not get a 250 OK, and get something else, refer to this guide: http://www.greenend.org.uk/rjk/tech/smtpreplies.html
        • This indicates the issue is likely on the SMTP server (likely not running an open relay or the user doesn't have a mailbox)
  • The recipient should then receive an email:
    test_smtp_server_10.png

 

Note:

  • If you don't receive the email, contact your SMTP server administrator. 
  • If you do receive the email, you have eliminated connectivity to the SMTP server as a problem. 

 

Here's the full conversation for reference:

test_smtp_server_11.png

 

 

 

 

 

Keywords:  orion npm email alert action smtp server e-mail address fails sent received send 

 

Last modified
13:59, 13 Nov 2015

Tags

Classifications

Public