Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-16281

The body of an html email that contains other attachments is attached as ATT00001.htm

    XMLWordPrintable

Details

    Description

      When we view html emails sent using email-ext, if files are attached the body of the email is not shown correctly in Outlook and instead is attached as a file named ATT00001.htm. This issue does not occur if no attachments were added to the email.

      It seems that this is the same issue described in this
      Microsoft Support article http://support.microsoft.com/kb/969854

      Attachments

        Activity

          slide_o_mix Alex Earl added a comment -

          I will try switching the order in which the message body is added to the message for the next release. If you want, you can try a snapshot build of 2.26 when I have created one if you want it. I can push the change sometime this week.

          slide_o_mix Alex Earl added a comment - I will try switching the order in which the message body is added to the message for the next release. If you want, you can try a snapshot build of 2.26 when I have created one if you want it. I can push the change sometime this week.

          Code changed in jenkins
          User: Alex Earl
          Path:
          src/main/java/hudson/plugins/emailext/ExtendedEmailPublisher.java
          http://jenkins-ci.org/commit/email-ext-plugin/d9221ac6cdf91c76927df24fa99daaeb5dd68fb4
          Log:
          Fix JENKINS-16281

          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Alex Earl Path: src/main/java/hudson/plugins/emailext/ExtendedEmailPublisher.java http://jenkins-ci.org/commit/email-ext-plugin/d9221ac6cdf91c76927df24fa99daaeb5dd68fb4 Log: Fix JENKINS-16281
          rinn Joe Kirchoff added a comment -

          Thanks for the prompt fix, I'll give this a try when you push build 2.26.

          rinn Joe Kirchoff added a comment - Thanks for the prompt fix, I'll give this a try when you push build 2.26.
          slide_o_mix Alex Earl added a comment -

          Added body of message to multipart before the attachments so it is first in the multipart message output. Tested fix locally and it works like a charm.

          slide_o_mix Alex Earl added a comment - Added body of message to multipart before the attachments so it is first in the multipart message output. Tested fix locally and it works like a charm.

          People

            slide_o_mix Alex Earl
            rinn Joe Kirchoff
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: