Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Last revision Both sides next revision
72:email_notification [2018/07/17 12:08]
bkkr
72:email_notification [2020/10/21 12:21]
Thomas Weinlein [E-mail Notifications]
Line 5: Line 5:
 The Stages e-mail notification service informs Stages users about new news application entries and the assignment of new roles. Also Stages can schedule certain tasks such as the creation of a process version, if a notification server has been configured. The task will then be queued and the user will be informed once it is finished. The Stages e-mail notification service informs Stages users about new news application entries and the assignment of new roles. Also Stages can schedule certain tasks such as the creation of a process version, if a notification server has been configured. The task will then be queued and the user will be informed once it is finished.
  
-Before using this notification service, a few configuration parameters must be set in the ''<​font inherit/​Courier New,​Courier,​monospace;;​inherit;;​inherit><​PKITHOME>/WEBINF/conf/PKitConfig.xml</​font>'' ​ configuration file.+Before using this notification service, a few configuration parameters must be set in the ''<​font inherit/​Courier New,​Courier,​monospace;;​inherit;;​inherit><​STAGESHOME>/conf/config.xml</​font>'' ​ configuration file.
  
 Example: Example:
Line 11: Line 11:
 <​code>​ <​code>​
 <​notification>​ <​notification>​
- <​!-- ​url of Stages server --> + <​!-- ​URL of Stages server -->
  <​serverurl>​http://​stages.example.com:​8080</​serverurl>​  <​serverurl>​http://​stages.example.com:​8080</​serverurl>​
- <​!-- name of SMTP server where e-mail can be delivered --> 
  
 + <​!-- hostname of SMTP server where e-mail can be delivered -->
  <​mailserver>​mail.example.com</​mailserver>​  <​mailserver>​mail.example.com</​mailserver>​
 +
  <​!-- address that should be used as the "​Reply-To:"​ header -->  <​!-- address that should be used as the "​Reply-To:"​ header -->
- <​replyto>​stages-support@methodpark.de</​replyto>​+ <​replyto>​noreply@yourdomain.com</​replyto>​ 
  <​!--address that should be used as the "​From:"​ header -->  <​!--address that should be used as the "​From:"​ header -->
- <​sender>​Stages Notification Service <stagessupport@methodpark.de></​sender>​+ <​sender>​Stages Notification Service <noreply@yourdomain.com></​sender>​ 
  <​!-- interval for "​ASAP"​ notifications in minutes -->  <​!-- interval for "​ASAP"​ notifications in minutes -->
  <​minimumInterval>​120</​minimumInterval>​  <​minimumInterval>​120</​minimumInterval>​
 +
 </​notification>​ </​notification>​
 +
 </​code>​ </​code>​
 +
 +To use encrytped communication with the mail server via STARTTLS add the following JAVA_OPTS to config.bat on Windows or rc.conf on Linux installations.\\
 +''​-Dmail.smtp.port=587 -Dmail.smtp.starttls.enable=true''​