kitzberger/usebouncer

Mail address validation via usebouncer.com (for powermail)

Installs: 81

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 2

Forks: 0

Open Issues: 0

Type:typo3-cms-extension

2.0.1 2024-07-25 15:37 UTC

This package is auto-updated.

Last update: 2024-10-25 16:06:38 UTC


README

This TYPO3 extension provides mail address validation via usebouncer.com as EXT:powermail spamshield.

Installation

  • Install this extension via composer: composer require kitzberger/usebourcer
  • Set API key in extension settings
  • Include TypoScript Usebouncer for powermail

This'll run a usebouncer.com check on the field that's defined as the 'sender email address'.

CLI

There's a CLI command for testing an email address:

./bin/typo3 usebouncer:test mail@example.org

Logger

Set this in your AdditionalConfiguration.php to activate logging for debugging purposes.

$logWriterConf = [
    'Kitzberger' => [
        'Usebouncer' => [
            'writerConfiguration' => [
                \TYPO3\CMS\Core\Log\LogLevel::DEBUG => [
                    \TYPO3\CMS\Core\Log\Writer\FileWriter::class => [
                        'logFileInfix' => 'usebouncer'
                    ],
                ],
            ],
        ],
    ],
];
$GLOBALS['TYPO3_CONF_VARS']['LOG'] = array_replace_recursive($GLOBALS['TYPO3_CONF_VARS']['LOG'], $logWriterConf);