SMTP Settings

You can send electronic mail requests, issued with workflow or PeopleCode, to the application server, which passes the requests to the specified mail server (SMTPServer). To specify the appropriate SMTP server and port to receive the email requests, you must edit the SMTP Settings section.

When set in the PSAPPSRV.CFG file, these SMTP settings are not dynamic: SMTPTrace and SMTPSendTime. They require a domain reboot to take full effect.

Note:

You can also control most of these settings using the PeopleCode SMTPSession class, which temporarily overrides them without changing the values in PSAPPSRV.CFG. You use this class primarily when you want to send multiple emails in a single session of the SMTP server, instead of having to change the permanent SMTP settings for every email. In the event that your application PeopleCode does not specify its own SMTP settings, the system uses the settings in the PSAPPSRV.CFG file.

Note:

Most of the SMTP settings documented here also apply to Process Scheduler configurations, and can be updated in the PSPRCS.CFG file. See Process Scheduler: SMTP Section.

See PeopleCode API Reference: SMTPSession Class.