Uploaded image for project: 'Confluence Data Center'
  1. Confluence Data Center
  2. CONFSERVER-9443

Embedded images not shown in email notifications due to login requirement

    XMLWordPrintable

Details

    Description

      NOTE: This suggestion is for Confluence Server. Using Confluence Cloud? See the corresponding suggestion.

      Atlassian update - March 2021

      Hi everyone

      Thank you for your comments and for following this issue. We’ve noticed that this has been raised as both a suggestion CONFSERVER-9443 and as a bug CONFSERVER-59931.

      The main causes for the images not rendering properly are all related to the fact that in order to view attachments in Confluence, the user has to be authorised:

      the user viewing the email message is not logged in
      the user's email client doesn't allow for a session to be set up with Confluence for authentication purposes
      the user’s email client no longer has access to the attached image
      the configured outgoing mail server caches images, but is unable to authorise in Confluence, and caches the 403 responses (e.g. when Gmail with the default settings is used as the outgoing mail server).
      While we don’t have plans to address this currently, we will update this suggestion to be a bug as we understand that images not being viewable in the emails is not an ideal experience and can be confusing for the mail recipient. We’ll also update the linked issues and the description.

      Thanks

      Makisa | Senior Product Manager, Confluence Server and Data Center

      Summary

      Images are not shown in email notifications.

      Steps to reproduce

      1. Integrate Confluence with a Mail Server
      2. Create a test user and ensure that you are watching a space. Additionally, edit the user profile settings to ensure that your mail subscriptions/email settings will ensure that you will be notified for updates.
      3. Log in as an admin or another test user and create a blog post OR page with no restrictions in the space that your other test user watches so that they will receive an email notification.

      Expected behaviour

      The email notification would show the attached image.

      Actual results

      The notification does not display the image attached. You are able to see the content (text) of the notification email but the images are broken. Page is secured with page permissions, so requires a login to view. The images which aren't displayed are attachments on the page. Logging in with Safari and selecting "Remember me" doesn't make a difference.

      Notes

      The image URLs are the correct relative URLs, but the HTML has a <base> tag in the header.

      Workaround

      If you're using Google Apps for your organisation you may want to check Google Support. Information is provided for how you can whitelist your Confluence/JIRA base URL to allow it to show embedded images. This is unrelated to mixed http/https content and should be independent of the browser used.

      Attachments

        1. Image Test.eml
          36 kB
        2. image test.PNG
          image test.PNG
          17 kB
        3. Image Test as embedded.eml
          57 kB
        4. image test as embedded.PNG
          image test as embedded.PNG
          37 kB

        Issue Links

          Activity

            People

              Unassigned Unassigned
              confluence_feedback Feedback Confluence
              Votes:
              145 Vote for this issue
              Watchers:
              112 Start watching this issue

              Dates

                Created:
                Updated: