Email notification
The job looks periodically into the PeakTMS database for emails ready to be sent out. To activate enable the class com.peaksolution.prp.scheduler.message.MessageJobDefFactory in the configuration file.
Define the message send intervall
Cron expression for message send, in this case are send every minute
MESSAGE.cron=0 */1 * * * ? *
Specify email account
MESSAGE.mail.user=test@peak-solution.local
#encrypted mail password, please use the program encryptPassword.bat to encrypt the password
MESSAGE.mail.password=fkxNlL9gPLW22oI5aaljgw==
Specify email server
Specify the mail protocol : stmp/smtps
MESSAGE.mail.protocol=smtp
Specifiy domain or ip of the email server
MESSAGE.mail.host=10.210.0.62
Specify the port for outgoing emails
MESSAGE.mail.port=
Define if email server requires authentication
MESSAGE.mail.auth=true
MESSAGE.mail.debug=true
Specify STARTTLS parameter
Use the STARTTLS properties only if protocol is SMTP
#MESSAGE.mail.starttls.enable=false
#MESSAGE.mail.starttls.required=false
Test the mail settings
To test mail, you should first register com.peaksolution.prp.scheduler.message.TestMessageJobDefFactory in the com.peaksolution.prp.scheduler.JobDefFactory #define test mail receiver, if empty, test mail will not be sent out
MESSAGE.mail.testmail.receiver=