Review main Abandoned

93900[FEATURE] Add per-site mail transport profiles

André Buchmann CR +1 V 0 Hard +454 −15 updated 08/01/26, 19:20

Commit message

Named transport profiles can now be defined in
$GLOBALS['TYPO3_CONF_VARS']['MAIL']['profiles']. Each profile is an
associative array of MAIL settings that override the global defaults.

A new site setting `email.transportProfile` allows associating a site
with a named profile. When the Mailer resolves its settings via
injectMailSettings(), it detects the current site from
$GLOBALS['TYPO3_REQUEST'] and merges the site's profile over the
global MAIL configuration automatically.

The new MailProfileResolver class handles profile lookup and merging.
The send() method respects profile-level defaultMailFromAddress,
defaultMailFromName, defaultMailReplyToAddress, and
defaultMailReplyToName before falling back to MailUtility.

Review

  • Code review CR +1
    • Simon Schaufelberger +1
  • Verified V 0
    • core-ci +1 CI

Issues 1

Files 9

Review log 811

  1. André Buchmann uploaded patch set 1 05/01/26, 19:59

  2. André Buchmann marked it work in progress 05/01/26, 20:06

  3. core-ci voted on patch set 1 V -1 05/01/26, 20:07 Core CI is not happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/101363

  4. André Buchmann uploaded patch set 2 V -1 05/01/26, 21:53

  5. André Buchmann uploaded patch set 3 05/01/26, 22:09

  6. core-ci voted on patch set 3 V +1 05/01/26, 22:18 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/101365

  7. André Buchmann marked it ready for review 05/01/26, 22:18

  8. core-ci voted on patch set 2 V +1 05/01/26, 22:27 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/101364

  9. Simon Schaufelberger voted on patch set 3 CR +1 07/29/26, 21:44

  10. Benni Mack commented on patch set 3 07/30/26, 20:12

    Unresolved

    Hey André. Please see https://review.typo3.org/c/Packages/TYPO3.CMS/+/95026 if that is more reasonable?
  11. André Buchmann abandoned the change 08/01/26, 19:20