Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

If you get 2x the notifications likely the logic in the script is not correct.

Problems with Outlook thick clients

The outlook ‘app’ (not web browser based) has some peculiarities specific to its interpretation of HTML that web browser based mail clients don’t share in regard to images:

IMG tags need size attributes

Whilst not mandatory in web clients, some versions of Outlook have required the WIDTH and HEIGHT tags to be injected into the IMG tag, this means JEMH needs to ‘load’ the image and figure out the related metata, you can enable this in the JEMH Notifications (for all Notifications) where inline images are enabled:

...

Multipart Type needs to be mixed

JEMH defaults to sending multipart/related content type mails, some versions of Outlook have required multipart/mixed instead, also set in the Notification section (above).

Inlined images only show a strip of the content

Recently (2023) we’ve heard some versions of Outlook showing a block of inlined images:

...

A solution to this has been found to work https://stackoverflow.com/questions/17298867/outlook-2013-cutting-off-top-of-image, where the wrapping TD tag needs to have style applied:

Code Block
style="display:block;"

You can customize this by changing the Jira macro in:

  • JIRA_INSTALL/atlassian-jira/WEB-INF/classes/templates/email/html/includes/patterns/text-paragraph.vm

Its content (Jira 9.5.0) was:

Code Block
<table class='text-paragraph-pattern' cellspacing='0' cellpadding='0' border='0' width='100%'>
    <tr>
        <td class='text-paragraph-pattern-container mobile-resize-text #if ($textParagraphClasses) $textParagraphClasses #end'>
            $attachmentsManager.inlineImages($textParagraph)
        </td>
    </tr>
</table>

After the customization

Code Block
<table class='text-paragraph-pattern' cellspacing='0' cellpadding='0' border='0' width='100%'>
    <tr>
        <td class='text-paragraph-pattern-container mobile-resize-text #if ($textParagraphClasses) $textParagraphClasses #end' style='line-height:1;'>
            $attachmentsManager.inlineImages($textParagraph)
        </td>
    </tr>
</table>

Filter by label (Content by label)
showLabelsfalse
max5
spacesJEMH
sortmodified
showSpacefalse
reversetrue
typepage
cqllabel in ( "image" , "outbound" , "outgoing" ) and space = "JEMH"
labelsevent listener jemh issue notification

...