SMTP Failed on Process Scheduler
If you are seeing messages like this in your message log when running a process through the process scheduler and distributing the information via email:
SMTP sendMail failed (server yourserver.com:25). Cannot send email to firstname.lastname@example.org
Failed to connect to the SMTP server at :25
It indicates that the
SMTP settings have not been configured correctly on your process scheduler servers. What you need to do is open your process scheduler configuration file (
%PS_HOME%\appserv\prcs\<PRCSDB>\psprcs.cfg) and find the following section:
[SMTP Settings] ;========================================================================= ; Settings for SMTP mail ; All controls under SMTP Settings can be dynamically changed ;========================================================================= SMTPServer= SMTPPort=25 SMTPServer1= SMTPPort1=0 SMTPSender=PeopleSoft@peoplesoft.com SMTPSourceMachine= SMTPCharacterSet= SMTPEncodingDLL= SMTPTrace=0 SMTPSendTime=0 SMTPUseSSL=N SMTPSSLPort=465 SMTPClientCertAlias= SMTPUseSSL1=N SMTPSSLPort1=465 SMTPClientCertAlias1=
Change the following parameters:
SMTPServer=the fully qualified address of your SMTP server. Make sure this server is accessible from the process scheduler server.
SMTPport is 25. If you are planning on using SSL, consult PeopleBooks. Make sure you can reach the target port (e.g. through telnet) from your process scheduler server.
SMTPSender=the send address to use for emails, e.g. email@example.com
SMTPSourceMachine=make sure you set this to the fully qualified name of your process scheduler.
You shouldn't need a restart if you have dynamic changes enabled in your configuration. Otherwise you will need a restart. There is a flag in the file
psprcs.cfg that will tell you this:
[Process Scheduler] ... Allow Dynamic Changes=N ...