In order to send email via the application process, the information about the mail server and the mail sender information must be registered in admin Server.
Note
The manager must be running if performing mail settings during the application process. Start the manager if it is not running already.
Refer to "2.1 Starting and Stopping Managers" in the "Operation Guide CE" for information on how to start this product.
Registering the mail server and sender
Login as the system administrator, and register the mail server and the mail sender information to admin server using the procedure shown below.
If SMTP server authentication will be used when the mail is sent, then encrypt the password. This procedure is not necessary if SMTP server authentication will not be used when the mail is sent.
[Windows Manager]
> <installation_folder>\IBPM\client\samples\configuration\EncryptPassword.bat -e "password" -------ENCRYPTED PASSWORD------- encrypted password
[Linux Manager]
# /opt/FJSVibpm/client/samples/configuration/EncryptPassword.sh -e "password" -------ENCRYPTED PASSWORD------- encrypted password
Prepare the mail server and mail sender definition files (they can be created in any location).
SMTP server settings file (smtpserver.conf)
Set the following items:
Setting item | Description | Default value |
---|---|---|
SMTPServerHost | Host name or IP address of the SMTP server that will be used to send mail. | localhost |
SMTPServerPort | Port number of the SMTP server that will be used to send mail. | 25 |
SMTPUserName | User name that will be used in SMTP server authentication when the mail is sent. | None |
SMTPPassword | Password that will be used in SMTP server authentication when the mail is sent. | None |
Example: showing how to define the settings file so that SMTP server authentication is used when the mail is sent.
SMTPServerHost=swrba.mail.server
SMTPServerPort=25
SMTPUserName=swrbamailuser
SMTPPassword=encrypted password
Example: SMTP server authentication will not be used when the mail is sent.
SMTPServerHost=swrba.mail.server SMTPServerPort=25 SMTPUserName=\ (*) SMTPPassword=\ (*)
* Note: A space must be specified after the backslash.
Mail sender settings file (emailaddress.conf)
Set the following items:
Setting item | Description | Default value |
---|---|---|
ServerEmailAddress | Mail sender ('from' address) that will be assigned to the mail in mail address format. | postmaster@example.com |
An example is shown below.
ServerEmailAddress=swrbamailuser@swrba.mail.server
Register the mail server information.
[Windows Manager]
<installation_folder>\IBPM\server\deployment\bin\importProperties.bat smtpserver.conf [Process Management Database user] [Process Management Database password]
[Linux Manager]
/opt/FJSVibpm/server/deployment/bin/importProperties.sh mtpserver.conf [Process Management Database user] [Process Management Database password]
Note
"swrbadb" as Process Management Database user and Process Management Database password is set during installation.
Register the mail sender information.
[Windows Manager]
<installation_folder>\IBPM\server\deployment\bin\importProperties.bat emailaddress.conf [Process Management Database user] [Process Management Database password] Default
[Linux Manager]
/opt/FJSVibpm/server/deployment/bin/importProperties.sh emailaddress.conf [Process Management Database user] [Process Management Database password] Default
The "Default" option must be specified at the end.
Note
"swrbadb" as Process Management Database user and Process Management Database password is set during installation.
Restart the manager
Restart the manager in order to apply the new settings.
Refer to "2.1 Starting and Stopping Managers" in the "Operation Guide CE" for information on how to restart the manager.