Troubleshoot the SMTP Server

Your rating: None Average: 3.3 (4 votes)

The SendMail function in PeopleSoft uses the SMTP server to send emails. The first thing to do when troubleshooting problems with emails not being sent is to make sure your SMTP server is up and running. In this post, I will show you how to verify if you can connect to the SMTP server as well as manually sending an email!

Note: I’m using Unix Telnet to connect to the SMTP sever.

Let’s get started by trying to connect to the server:

Open a telnet session and login to the server box you would like to test sending emails from. I will be logging in to a DEV environment.

Step one:
Once logged in successfully, type:

$ telnet <Your-SMTP-Server> 25

And you shoud see...
Connected to <Your-SMTP-Server>.
Escape character is '^]'.
220 <Your-SMTP-Server> ESMTP Sendmail 8.11.7p3+Sun/8.11.6; Mon, 14 Apr 2008 14:24:56 -0500 (CDT)

Great our DEV box allowed to connect to the SMTP server.

Step Two:
Send an email manually:
Lets identify ourselves with the HELO command and the domain name we are coming from. For example, if your work email address is then your domain name would be


And you should see…
250 <Your-SMTP-Server> Hello , pleased to meet you

Now type the email address you want the email to appear from:

250 2.1.0 <a href=""></a>... Sender ok

Now type the email address you would want the message to go to:
250 2.1.5 <a href=""></a>... Recipient ok

Now, lets type the email message. You will need to issue the command "data" then start typing your message, once done click enter and type "." And then enter. A single point "." On a line by itself followed by and enter means you are done typing your message.

354 Enter mail, end with "." on a line by itself
This is a test email using SMTP.
250 2.0.0 m3EJaMf21424 Message accepted for delivery

To send your message just type "quit" in the command line and your done.
221 2.0.0 <Your-SMTP-Server> closing connection
Connection closed.

Please try to help out with unanswered topics on the forum. Chances are you have had the same issue/question some time in your IT career!


Have a question? Please ask it on the forum instead.
deepthnk2003's picture
User offline. Last seen 9 years 33 weeks ago. Offline
Joined: 09/18/2008
Posts: 1
Re: Troubleshoot the SMTP Server


when i am typing mail its showing authentication required.

plz suggest what to do?

Post new comment

The question below is to prevent automated spam submissions.
2 + 0 =
Solve this simple math problem and enter the result. E.g. for 1+3, enter 4.