Feature #76349
closedIntegrate Swift Mailer's spool transport into TYPO3
100%
Description
TYPO3 uses Swift Mailer for sending mails.
Switftmailer itself offers to spool mails and send them later.
Swiftmailer SpoolTransport:
https://github.com/swiftmailer/swiftmailer/blob/fffbc0e2a7e376dbb0a4b5f2ff6847330f20ccf9/lib/classes/Swift/SpoolTransport.php
Symfony as example is using this feature:
http://symfony.com/doc/current/cookbook/email/spool.html
As a proove of concept using xclasse:
https://github.com/r3h6/TYPO3.EXT.mail_spool
This would be a nice feature for the core.
What must be done:
- Extension settings must be extended with spool properties
- MailMessage and Mailer class must be changed (fully backwards compatible, see proove of concept)
- CLI/Schedular command for flush queue
Questions:
- Where to temporary store the mail messages on file system (typo3temp/?)