Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
72:email_notification [2018/09/27 18:20] – [E-mail Notifications] emr72:email_notification [2024/02/15 00:00] (current) – external edit 127.0.0.1
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><STAGESHOME>/conf/config.xml</font>''  configuration file.+Before using this notification service, a few configuration parameters must be set in the ''<STAGESHOME>/conf/config.xml''  configuration file.
  
 Example: Example:
Line 12: Line 12:
 <notification> <notification>
  <!-- URL of Stages server -->  <!-- URL of Stages server -->
- <serverurl>http://stages.example.com:8080</serverurl>+ <serverurl>http://stages.example.com:8080/stages</serverurl>
  
  <!-- hostname of SMTP server where e-mail can be delivered -->  <!-- hostname of SMTP server where e-mail can be delivered -->
Line 27: Line 27:
  
 </notification> </notification>
 +
 </code> </code>
 +
 +To use encrytped communication with the mail server via STARTTLS please proceed as follows:
 +
 +  * Windows:
 +      * Open file "<Stages installation path>\stages\config.bat"
 +      * Add the red colored setting to the line: //set JAVA_OPTS=-Dmail.smtp.port=587 -Dmail.smtp.starttls.enable=true//
 +      * Open a cmd with administrative permissions and navigate to folder "<Stages installation path>\stages\bin"
 +      * Reinstall the Stages service: **reinstallService.bat**
 +      * Restart Stages service: **net start stages**
 +  * Linux:
 +      * Open file "<Stages installation path>/stages/bin/rc.conf"
 +      * Add the red colored seeting to the line: //CONF_JAVA_OPTS=-Dmail.smtp.port=587 -Dmail.smtp.starttls.enable=true//
 +      * Restart the Stages service:** stages restart**