[FEATURE] Integrate Swift Mailer's spool transport 82/49182/9
authorRemo H <r3h6@outlook.com>
Sun, 24 Jul 2016 18:23:36 +0000 (20:23 +0200)
committerBenni Mack <benni@typo3.org>
Sat, 10 Feb 2018 23:44:13 +0000 (00:44 +0100)
commit95f9df580ec070302e7a6c3919125671378b7b00
treec4f1a76085fa9a431a5b73724c742555170a977f
parent0059eed5899bf2f28ed39119971793f694dc7a7f
[FEATURE] Integrate Swift Mailer's spool transport

Adds new configuration to the install tool and provides an
extbase schedular task and command.

A small refactoring was required:
* Moved transport creation from mailer to a factory

Possible issues are:
* sending of memory-spooled messages is a bit hacky

Resolves: #76349
Releases: master
Change-Id: I9736d4f943eea2052bf935ac1fc055c336894397
Reviewed-on: https://review.typo3.org/49182
Reviewed-by: Mathias Schreiber <mathias.schreiber@typo3.com>
Tested-by: Mathias Schreiber <mathias.schreiber@typo3.com>
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Benni Mack <benni@typo3.org>
Tested-by: Benni Mack <benni@typo3.org>
15 files changed:
typo3/sysext/core/Classes/Command/SendEmailCommand.php [new file with mode: 0644]
typo3/sysext/core/Classes/Mail/Mailer.php
typo3/sysext/core/Classes/Mail/MemorySpool.php [new file with mode: 0644]
typo3/sysext/core/Classes/Mail/TransportFactory.php [new file with mode: 0644]
typo3/sysext/core/Configuration/Commands.php [new file with mode: 0644]
typo3/sysext/core/Configuration/DefaultConfiguration.php
typo3/sysext/core/Configuration/DefaultConfigurationDescription.yaml
typo3/sysext/core/Documentation/Changelog/master/Feature-76349-IntegrateSwiftMailersSpoolTransportIntoTYPO3.rst [new file with mode: 0644]
typo3/sysext/core/Tests/Unit/Command/SendEmailCommandTest.php [new file with mode: 0644]
typo3/sysext/core/Tests/Unit/Mail/Fixtures/FakeFileSpoolFixture.php [new file with mode: 0644]
typo3/sysext/core/Tests/Unit/Mail/Fixtures/FakeInvalidSpoolFixture.php [new file with mode: 0644]
typo3/sysext/core/Tests/Unit/Mail/Fixtures/FakeMemorySpoolFixture.php [new file with mode: 0644]
typo3/sysext/core/Tests/Unit/Mail/Fixtures/FakeValidSpoolFixture.php [new file with mode: 0644]
typo3/sysext/core/Tests/Unit/Mail/MailerTest.php
typo3/sysext/core/Tests/Unit/Mail/TransportFactoryTest.php [new file with mode: 0644]