[BUGFIX] Send test email in Install Tool as HTML 84/31684/2
authorWouter Wolters <typo3@wouterwolters.nl>
Thu, 10 Jul 2014 19:27:20 +0000 (21:27 +0200)
committerStefan Neufeind <typo3.neufeind@speedpartner.de>
Sat, 19 Jul 2014 16:26:22 +0000 (18:26 +0200)
Explicitly set the format of the email body to text/html.

Resolves: #60251
Releases: 6.3, 6.2
Change-Id: I350b0f4cb9e69cd20dbd439647f56cd9c641b501
Reviewed-on: https://review.typo3.org/31684
Reviewed-by: Pascal Dürsteler <pascal.duersteler@gmail.com>
Reviewed-by: Oliver Klee <typo3-coding@oliverklee.de>
Reviewed-by: Stefan Neufeind <typo3.neufeind@speedpartner.de>
Tested-by: Stefan Neufeind <typo3.neufeind@speedpartner.de>
typo3/sysext/install/Classes/Controller/Action/Tool/TestSetup.php

index 1fbda08..b762b53 100644 (file)
@@ -114,7 +114,7 @@ class TestSetup extends Action\AbstractAction {
                                ->addTo($recipient)
                                ->addFrom($this->getSenderEmailAddress(), 'TYPO3 CMS install tool')
                                ->setSubject('Test TYPO3 CMS mail delivery')
-                               ->setBody('<html><body>html test content</body></html>')
+                               ->setBody('<html><body>html test content</body></html>', 'text/html')
                                ->addPart('TEST CONTENT')
                                ->send();
                        $message = $this->objectManager->get('TYPO3\\CMS\\Install\\Status\\OkStatus');