[BUGFIX] Add Content-Type to test mail plain part 85/57585/2
authorMathias Brodala <mbrodala@pagemachine.de>
Fri, 13 Jul 2018 11:03:25 +0000 (13:03 +0200)
committerMathias Brodala <mbrodala@pagemachine.de>
Wed, 18 Jul 2018 06:59:00 +0000 (08:59 +0200)
Resolves: #85536
Releases: master, 8.7
Change-Id: Ie1f5c97af1a315eb5b8d7bf4bc7a31872362750d
Reviewed-on: https://review.typo3.org/57585
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Josef Glatz <josef.glatz@typo3.org>
Tested-by: Josef Glatz <josef.glatz@typo3.org>
Reviewed-by: Jörg Bösche <typo3@joergboesche.de>
Tested-by: Jörg Bösche <typo3@joergboesche.de>
Reviewed-by: Mathias Brodala <mbrodala@pagemachine.de>
Tested-by: Mathias Brodala <mbrodala@pagemachine.de>
typo3/sysext/install/Classes/Controller/Action/Tool/TestSetup.php

index 87d4b28..19ecb18 100644 (file)
@@ -121,7 +121,7 @@ class TestSetup extends Action\AbstractAction
                 ->addFrom($this->getSenderEmailAddress(), $this->getSenderEmailName())
                 ->setSubject($this->getEmailSubject())
                 ->setBody('<html><body>html test content</body></html>', 'text/html')
-                ->addPart('TEST CONTENT')
+                ->addPart('plain test content', 'text/plain')
                 ->send();
             $message = GeneralUtility::makeInstance(\TYPO3\CMS\Install\Status\OkStatus::class);
             $message->setTitle('Test mail sent');