kitzberger/usebouncer

Mail address validation via usebouncer.com (for powermail)

Installs: 41

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 2

Forks: 0

Open Issues: 0

Type:typo3-cms-extension

1.1.3 2024-03-06 09:49 UTC

This package is auto-updated.

Last update: 2024-04-06 09:56:00 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);