Uploaded image for project: 'XWiki Platform'
  1. XWiki Platform
  2. XWIKI-21195

Email notifications are sent at each restart of the server if a Bcc address is configured in Administration



    • Bug
    • Resolution: Fixed
    • Blocker
    • 14.10.16, 15.8-rc-1, 15.5.3
    • 15.5, 14.10.14
    • Mail
    • Windows 11 Pro, Chrome 115, using a local instance of XWiki 15.5 on Oracle 19c, Tomcat 9.0.78
    • Unknown
    • N/A
    • N/A


      Steps to reproduce

      1. Edit xwiki.properties and set notifications.emails.live.graceTime = 1 to enable the sending of e-mails after 1 minute
      2. Login as Admin
      3. Go to Administer Wiki > Mail > Mail Sending
      4. Configure email sending settings including a BCC email address
      5. Optional: set "Discard Success Statuses" to No
      6. Login as an user (e.g. U1) which has an email address set in his profile
      7. Click on Notifications Bell and set all Watch toggles to ON (make sure on Notifications Settings > Applications section the Pages toggles are set to ON for Email column)
      8. Set "Email Frequency" to Live
      9. Login as Admin or other user
      10. Create a page
      11. Wait (app 1 min) and confirm that the email notification for the page creation event is received by the user
      12. Close and restart the XWiki instance
      13. After restart, observe the user's email inbox

      Expected results

      No email is received, since the email notification for page creation event was received already before the restart of the instance.

      Actual results

      The email notification is received again.

      In Administration > Mail > Mail Sending Status, after every instance restart, the respective mail job sent is listed with the Status "send_success".

      Reproduced also on XWiki 15.5.1.


        Issue Links



              vmassol Vincent Massol
              iandriuta Ilie Andriuta
              0 Vote for this issue
              1 Start watching this issue