Skip to content

[JENKINS-75800] Allow email attachments to have inline content-disposition #1438

@jenkins-infra-bot

Description

@jenkins-infra-bot

Emails that have an `` at the top, also show the attachment in the email. This becomes a problem when emailed to a Microsoft Teams channel. The image appears inside the message, but also as an attachment preview under it.

I believe the root cause is that the attachment does not have the necessary "Content-Disposition" header set to "inline".


Originally reported by axieum, imported from: Allow email attachments to have inline content-disposition
  • status: Open
  • priority: Minor
  • component(s): email-ext-plugin
  • resolution: Unresolved
  • votes: 0
  • watchers: 3
  • imported: 20251211-193728
Raw content of original issue

Emails that have an `<img src="cid:banner.png">` at the top, also show the attachment in the email. This becomes a problem when emailed to a Microsoft Teams channel. The image appears inside the message, but also as an attachment preview under it.

I believe the root cause is that the attachment does not have the necessary "Content-Disposition" header set to "inline".

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions