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:
And you shoud see...
Connected to
Escape character is '^]'.
220
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 [email protected] then your domain name would be yourcompany.com
And you should see…
Now type the email address you want the email to appear from:
Now type the email address you would want the message to go to:
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
Connection closed.