Search code examples
typo3fluidrtepowermail

Disable spam protection when generating an Email in Fluid


I have enabled config.spamProtectEmailAddresses = -4 for my Typo3-site.

In a fluid template (that is used for generating the HTML of an email generated by the extension powermail), how can I override this setting to not protect the email adress here?

I have tried (see parseFunc)

<f:format.html parseFuncTSPath="lib.parseFunc_email">{text}</f:format.html>

but I can't find out which TS-property needs to change.

Or is there a different way to achieve this?


Solution

  • I changed the TS setting config.spamProtectEmailAddresses = -4 for specific pages:

    config.spamProtectEmailAddresses = -4
    [globalVar = _GET|tx_powermail_pi1|action = create]
    config.spamProtectEmailAddresses = 0
    [global]
    

    (From https://forge.typo3.org/issues/72983)