Both Mail Queue and Error Queue only shows the number but not the entries

XMLWordPrintable

    • 19
    • Severity 3 - Minor
    • 105

      Issue Summary

      Both Mail Queue and Error Queue only shows the number but not the entries

      This is reproducible on Data Center: (yes)

      Steps to Reproduce

      1. Configure a mail server with Confluence
      2. Create 01 user (apart from the admin user)
      3. Use a proper email address for the admin user profile and a wrong email address for the other user.
      4. Create a new Space > Page using a normal user login and start watching the space
      5. As you are now with a normal user login, head over to your profile > Watches > Click on email settings at the bottom of the page > Edit the settings and check for all the boxes and save the changes.
      6. Repeat the same steps for the admin user as well
      7. Edit the page using both admin and normal user so that notifications are trigged to each user from Confluence
      8. If required, you can also mention user on the page and assign a task. Do a few edits on the page so that the admin user gets the notification in his/her mailbox.
      9. At this point the steps were done to just see that mail is getting triggered and admin is getting notification.
      1. Now edit SMTP server details and change the port to the wrong port, say example 333 and save the changes. This is to ensure that mail notification fails while Confluence tries to send it.
      2. Login as admin > General settings > Recommended updates email and change this to Daily in regards to performing our testing quickly.
      3. Now update the page again with login from both admin and normal user as we did in the past.
      4. After a while ( 5 mins ), you will see Mail Queue has numbers but here also it does not display the entries and just shows numbers.
      5. Now go to schedules jobs and run the below jobs in order -
      • Flush Mail Queue
      • Email Daily Reports
      • Send Recommended Updates Email

      After a few minutes, you will see that the error queue has been populated with numbers but has no entries.

      Expected Results

      Both Mail Queue and Error Queue should display the entries and the number

      Actual Results

      Both Mail Queue and Error Queue only display the number ( screenshots attached )

      Workaround

      We get exception if there is an error while sending notifications to particular user_key in atlassian-confluence-outgoing-mail.log which also shows the cause for failure but this is not user friendly at the moment.

        1. Screenshot 2024-02-14 at 6.54.46 pm.png
          494 kB
          Avik H
        2. Screenshot 2024-02-14 at 2.54.14 pm.png
          300 kB
          Avik H
        3. Screenshot 2024-02-19 at 3.30.20 pm.png
          301 kB
          Avik H
        4. Screenshot 2024-02-19 at 3.27.50 pm.png
          266 kB
          Avik H
        5. Screenshot 2024-02-19 at 5.55.04 pm.png
          253 kB
          Avik H
        6. Screenshot 2024-02-19 at 5.56.39 pm.png
          261 kB
          Avik H

            Assignee:
            Judy Lim
            Reporter:
            Avik H
            Votes:
            10 Vote for this issue
            Watchers:
            27 Start watching this issue

              Created:
              Updated:
              Resolved: