Setting Email Properties in the Process Server
To support email notifications in the Process Designer, you must identify your SMTP email server in the Process Server email.properties file. Depending on your authentication needs, you can also use this file to set username and password options, as well as setting up other options as default or fallback properties.
email.properties file is created the first time you install the Process Designer and is located here:
And looks like this:
After all required properties are configured, you can use the email extension activity to easily send notifications as part of your business process.
Except for the email.server property and the authentication properties, these are essentially default or fallback properties. For example, when you are creating a process in the Process Design Studio, all email properties set in the Properties panel or the Copy Rule dialog box override any properties that are set here. The process first uses the value set in the Properties panel, then if that value is empty it uses the value set in the Copy Rule dialog box, and finally if no values are detected, the values set here are used.
If you have notifications that you want to send from a single recipient or to a set account, it may be advantageous to set these values here and not have to reset them.
Properties included in the email.properties file:
|email.server||The name of your SMTP email server. This property is required.|
|email.username||Supply a valid username if authentication is required by the server. This property is required if the server requires authentication.|
|email.server.port||The SMTP server port to connect to. Defaults to 25.|
|email.from||Supply a valid email address for the sender. This property is optional and may be dependent on your email server. You can also set this property, for each process, on the Property panel or Copy Rule dialog box of the Process Design Studio.|
|email.recipient||Supply a valid email address to receive the email. This property is optional and may be dependent on your email server. You can also set this property, for each process, on the Property panel or Copy Rule dialog box of the Process Design Studio.|
|email.password||Provide a password for the user if authentication is required by the server. This property is required if the server requires authentication.|
There are additional advanced email server properties that can be added manually if needed. For information on this see Technical Note 10136 on the technical support site.