Skip to content

Conversation

@leeroy869
Copy link
Contributor

When using 'contentType' => $attachment->getContentType() for attachments, the image displays correctly in Outlook.

@polonkaig polonkaig mentioned this pull request Oct 8, 2025
@geisi geisi self-requested a review October 8, 2025 09:06
@geisi
Copy link
Contributor

geisi commented Oct 8, 2025

@leeroy869, thanks for opening the PR this is indeed a bug. Can you fix the failing testsuite?

@geisi
Copy link
Contributor

geisi commented Oct 8, 2025

@leeroy869

The getContentType() method does not exist in lower Symfony versions. Therefore, for the fix, we have to backport the functionality so that it works for all versions.

@geisi geisi merged commit 288a9a6 into InnoGE:main Oct 8, 2025
29 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants