Review main Work in progress Quiet

96573[FEATURE] Allow embedding images in Fluid emails

Georg Ringer CR 0 V 0 Hard +322 −0 updated 10/09/26, 19:20

Commit message

Images could only be embedded into an email in PHP. Templates of
system emails and of form framework emails had to reference images by
URL, which many mail clients block.

The new ViewHelper f:email.embed embeds a resource into the FluidEmail
rendering the template and returns its "cid:" reference.

The ViewHelper only collects the resources, the email embeds them into
itself after rendering. Mail transports clone the message before the
body is rendered, and the clone shares the view with the original.

Test this change

Run a command in your clone of the TYPO3 Core. Then try what the change does and vote on Verified in Gerrit. How to review a patch

Check out patch set 1
git fetch https://review.typo3.org/Packages/TYPO3.CMS refs/changes/73/96573/1 && git checkout FETCH_HEAD
Cherry-pick onto main
git fetch https://review.typo3.org/Packages/TYPO3.CMS refs/changes/73/96573/1 && git cherry-pick FETCH_HEAD

Review

  • Code review CR 0 Needs a vote
  • Verified V 0 Needs a vote
    • core-ci +1 CI

Merge conflicts 1

Issues 1

Files 5

Review log 12

  1. Georg Ringer uploaded patch set 1 10/09/26, 19:10

  2. core-ci voted on patch set 1 V +1 10/09/26, 19:20 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/110695