-
Notifications
You must be signed in to change notification settings - Fork 0
/
ext_localconf.php
41 lines (35 loc) · 1.62 KB
/
ext_localconf.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
<?php
if (!defined('TYPO3')) {
die('Access denied.');
}
call_user_func(function () {
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addTypoScript(
'rsmbouncemailprocessor',
'constants',
"@import 'EXT:rsmbouncemailprocessor/Configuration/TypoScript/constants.typoscript'"
);
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addTypoScript(
'rsmbouncemailprocessor',
'setup',
"@import 'EXT:rsmbouncemailprocessor/Configuration/TypoScript/setup.typoscript'"
);
// bounce mail analyse scheduler
$GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['scheduler']['tasks']['RSM\\Rsmbouncemailprocessor\\Task\\AnalyzeBounceMail'] = [
'extension' => 'rsmbouncemailprocessor',
'title' => 'RSM analyze bounce mail',
'description' => 'This task will get bounce mail from the configured mailbox',
'additionalFields' => 'RSM\\Rsmbouncemailprocessor\\Task\\AnalyzeBounceMailAdditionalFields'
];
// bounce mail process scheduler
$GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['scheduler']['tasks']['RSM\\Rsmbouncemailprocessor\\Task\\ProcessBounceMail'] = [
'extension' => 'rsmbouncemailprocessor',
'title' => 'RSM process bounce mail',
'description' => 'This task will process the bounce mail',
];
// clean task queue scheduler
$GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['scheduler']['tasks']['RSM\\Rsmbouncemailprocessor\\Task\\CleanTaskQueue'] = [
'extension' => 'rsmbouncemailprocessor',
'title' => 'RSM clean task queue',
'description' => 'This task will clean the task queue',
];
});