Send email problem & SMTP Trace
To resolve any problem related to sending emails using SMTP server in PeopleSoft, we can enable SMTP trace option at appserver or process scheudler server level. This will produce the smtp log file giving us more details about why the send email is failing.
Some common places where we could get the send email related issues are while Sendmail peoplecode function is failing when used in an application engine (process scheduler server related) or end users getting an online error message : Unable to Send Email, Invalid email ID etc while saving the page (Appserver related). The error message may not be sufficient to know exactly where is the problem. To get more details about why send email is failing, you need to add/update the following in your appserver configuration (psappserv.cfg) or batch server Configuration (psprcs.cfg) under SMTP Settings.
SMTPTrace=1
;1 means enabled, 0 – Disabled.
This setting is dynamic and does not require reboot of the Server, which is very good for troubleshooting in production environments. Once turned on, it will generate Trace file SMTP.LOG in LOGS Folder under
$PS_HOME\appserv\domain_name\logs\SMTP.LOG for Appserver and $PS_HOME\appserv\prcs\domain_name\logs\SMTP.LOG for Batchserver.
This SMTP.LOG will show in detail where exactly the send email is failing and help us to fix the problem. Once the problem is fixed, disable the SMTP trace option.
this doc helped me alot.
Thanks,
kaesh.
Kalesh,
I am glad, that it helped you.
Regards,
Bala.
I enabled the smtptrace but it doesn’t generated any log file in logs
Sastry,
where are you having problems (whether appserver or process scheudler server related)? and which config file you enabled smtp trace?
If you are not sure, try enabling smtp trace in both appserver and process scheduler server.
Regards,
Bala