How to test SMTP connection from PlateSpin server

  • 7011497
  • 12-Dec-2012
  • 13-Dec-2012

Environment

PlateSpin Migrate 9+
PlateSpin Protect 10+
PlateSpin Forge 3+

Situation

Email notifications are enabled, but not being sent as expected.  It is necessary to test SMTP functionality from the PlateSpin server. 

Resolution

The following steps can be used to test the SMTP connection from the PlateSpin server directly and to test the SMTP settings used.

1. Open a Command Prompt.
2. Telnet to the SMTP server using the following command:
 
telnet <SMPT address used in Protect> <SMTP Port used in Protect>
 
3. Run the following command:
 
ehlo <same SMTP address used in Protect>

The expected response is:
 
250-<SMTP server name> Hello <Server Name> [IP], pleased to meet you
250-PIPELINING

Followed by any number of options such as the following:

250-ENHANCEDSTATUSCODES
250-8BITMIME
250-SIZE
250-DSN
250-ETRN
250-DELIVERBY
250 HELP
 
The following steps are used if SMTP Authentication is required:
 
4. Run the following command:
 
auth login
 
5. The server will respond with a request for encrypted credentials.  A third-party tool is required to encrypt the username and password with Base 64. Once encrypted, paste the username in response to the request, then the password in response to the next request.
 
6. Continue by running the following commands:
 
mail from: <"Reply Address" used in Protect>
rcpt to: <Recipient address used in Protect>
data
This is a test of the SMTP connection from Platespin Protect.
.
quit
 
An email should be received by the recipient email address, if SMTP is functioning as expected