DEPRECATION WARNING

This documentation is not using the current rendering mechanism and will be deleted by December 31st, 2020. The extension maintainer should switch to the new system. Details on how to use the rendering mechanism can be found here.

Hooks

Following hooks are available in direct_mail:

cmd_finalmail

Property

$GLOBALS['TYPO3_CONF_VARS']['EXTCONF']['direct_mail']['mod2']['cmd_finalmail']

Method

cmd_finalmail

Description

This hook can be used to influence the last step of the sending wizard. E.g. add import button, so that user has to import the recipient before finalizing the sending wizard

cmd_stats

Property

$GLOBALS['TYPO3_CONF_VARS']['EXTCONF']['direct_mail']['mod4']['cmd_stats']

Method

cmd_stats_postProcess

Description

This hook can be used to influence the output of the overall statistic output

cmd_stats_linkResponses

Property

$GLOBALS['TYPO3_CONF_VARS']['EXTCONF']['direct_mail']['mod4']['cmd_stats_linkResponses']

Method

cmd_stats_linkResponses

Description

This hook can be used to influence the output of the statistics section "link responses"

renderCType

Property

$TYPO3_CONF_VARS['EXTCONF']['direct_mail']['renderCType']

Method

renderPlainText

Description

use this hook to render plain text version of unknown CType (plugin output, etc.)

mailMarkersHook

Property

$GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['ext/direct_mail']['res/scripts/class.dmailer.php']['mailMarkersHook']

Method

userFunc

Description

With this hook, you can write your own userFunc and manipulate how marker in the mail should be replaced.

mailHeadersHook

Property

$GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['ext/direct_mail']['res/scripts/class.dmailer.php']['mailHeadersHook']

Method

userFunc

Description

With this hook, you can add or edit the headers of the e-mail for each recipient

cmd_displayImport

Property

$GLOBALS['TYPO3_CONF_VARS']['EXTCONF']['direct_mail/mod3/class.tx_directmail_recipient_list.php']['cmd_displayImport']

Method

cmd_displayImport

Description

Use this hook if you have your own importer.

doImport

Property

$GLOBALS['TYPO3_CONF_VARS']['EXTCONF']['direct_mail/mod3/class.tx_directmail_recipient_list.php']['doImport']

Method

doImport

Description

This hook is called everytime a recipient record is inserted.

mailFromDraft

Property

$GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['direct_mail']['mailFromDraft']

Method

postInsertClone

enqueueClonedDmail

Description

postInsertClone will be called after the draft record is cloned. Use this to manipulate the cloned record.

enqueueClonedDmail will be called before enqueueing the cloned draft record to the direct_mail mailin engine

cmd_compileMailGroup

Property

$GLOBALS['TYPO3_CONF_VARS']['EXTCONF']['direct_mail']['mod2']['cmd_compileMailGroup'] $GLOBALS['TYPO3_CONF_VARS']['EXTCONF']['direct_mail']['mod3']['cmd_compileMailGroup']

Data type

cmd_compileMailGroup_postProcess

Description

Manipulate the generated id_list from various recipient lists.