From 599d0648a649e491e02f6e38294024f877ba57b1 Mon Sep 17 00:00:00 2001
From: Torsten Oppermann <torsten@sgalinski.de>
Date: Mon, 12 Nov 2018 14:19:12 +0100
Subject: [PATCH] [TASK] Fixing mail registration

---
 ext_localconf.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/ext_localconf.php b/ext_localconf.php
index d09161b4..ade70144 100644
--- a/ext_localconf.php
+++ b/ext_localconf.php
@@ -61,7 +61,7 @@ if (TYPO3_MODE === 'BE') {
 }
 
 // register mail templates
-$GLOBALS['sgmail']['sg_jobs']['ApplicationMail'] = \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extPath('sg_jobs') . '/Configuration/SgMail/ApplicationMail.php';
+$GLOBALS['sg_mail']['sg_jobs']['ApplicationMail'] = 'EXT:sg_jobs/Configuration/SgMail/ApplicationMail.php';
 
 // signal slot for sg_seo integration
 /** @var \TYPO3\CMS\Extbase\SignalSlot\Dispatcher $signalSlotDispatcher */
-- 
GitLab