Review main Ready for review

96357[FEATURE] Attach static files to form emails

Josua Vogel CR 0 V 0 Expert +2026 −26 updated 11/19/26, 16:34

Commit message

The email finishers can now attach static files. The new option
"attachments" takes sys_file uids or combined identifiers.

In the form editor the files are selected with the file browser through
the new inspector editor "Inspector-FileBrowserEditor", which is
configured like a TCA field of type "file" (allowed, disallowed,
maxItems).

On save, every newly added file has to be readable by the backend user
and match the file extensions of the editor. Files that were already
part of the loaded form pass via their hmac.

The plugin can replace the attachments with a FlexForm field of type
"file". Its references are stored per sheet, so references of a
previously selected form are not sent.

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 7
git fetch https://review.typo3.org/Packages/TYPO3.CMS refs/changes/57/96357/7 && git checkout FETCH_HEAD
Cherry-pick onto main
git fetch https://review.typo3.org/Packages/TYPO3.CMS refs/changes/57/96357/7 && 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 25

Issues 2

Files 55

Show 35 more files

Review log 1118

  1. Josua Vogel uploaded patch set 1 10/05/26, 10:08

  2. Josua Vogel marked it work in progress 10/05/26, 10:09

  3. core-ci voted on patch set 1 V +1 10/05/26, 10:16 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/110097

  4. Josua Vogel updated the commit message in patch set 2 V +1 10/05/26, 10:26

  5. core-ci voted on patch set 2 V +1 10/05/26, 10:34 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/110101

  6. Josua Vogel marked it ready for review 10/05/26, 12:54

  7. Lina Wolf commented on patch set 2 10/15/26, 11:04

    The form manual on main was re-indented in https://review.typo3.org/c/Packages/TYPO3.CMS/+/96702 (two spaces after "..", 4-space levels, headline levels). This change will probably conflict in typo3/sysext/form/Documentation when rebased. The script used for the conversion can help to bring new text into the same format; ask me if you need it.
  8. Josua Vogel uploaded patch set 3 V +1 10/15/26, 22:26

  9. core-ci voted on patch set 3 V -1 10/15/26, 22:43 Core CI is not happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/111291

  10. Josua Vogel uploaded patch set 4 V -1 11/06/26, 08:25

  11. Josua Vogel commented on patch set 4 11/06/26, 08:28

    Rebased onto main. Adapted to changes merged since PS3: removed the isFallbackStorage() check in FileResolver (fallback storage removed in #110361), dropped the sys_file_storage.csv fixtures (storages are configured in a file since #110762, the implicit default storage 1 is used), stubbed getPrototypeConfigurationDto() in FormFrontendControllerFileOverrideTest, and re-indented FileBrowserEditor.rst to the manual's new format.
  12. core-ci voted on patch set 4 V -1 11/06/26, 08:42 Core CI is not happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/113463

  13. Josua Vogel rebased onto patch set 5 V -1 11/06/26, 08:51

  14. core-ci voted on patch set 5 V +1 11/06/26, 09:08 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/113468

  15. Josua Vogel uploaded patch set 6 V +1 11/15/26, 17:07

  16. core-ci voted on patch set 6 V +1 11/15/26, 17:17 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/114553

  17. Josua Vogel uploaded patch set 7 V +1 11/19/26, 16:29

  18. core-ci voted on patch set 7 V +1 11/19/26, 16:34 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/115026