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
72:email_notification [2018/09/27 18:18]
Erich Meier [E-mail Notifications]
72:email_notification [2020/10/21 13:01] (current)
Thomas Weinlein [E-mail Notifications]
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 please proceed as follows:
 +
 +  * Windows:
 +      * Open file "<​Stages installation path>​\stages\config.bat"​
 +      * Add the red colored setting to the line: //set JAVA_OPTS=<​font inherit/​inherit;;#​e74c3c;;​inherit>​-Dmail.smtp.port=587 -Dmail.smtp.starttls.enable=true</​font>//​
 +      * 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=<​font inherit/​inherit;;#​e74c3c;;​inherit>​-Dmail.smtp.port=587 -Dmail.smtp.starttls.enable=true</​font>//​
 +      * Restart the Stages service:** stages restart**