captcha-eu / typo3-powermail
Captcha.eu 的 TYPO3 扩展,用于 powermail
v1.0.4
2024-04-24 14:20 UTC
Requires
- ext-json: *
- in2code/powermail: ^10 | ^11 | ^12 | dev-develop
Replaces
- typo3-ter/captchaeu: v1.0.4
This package is not auto-updated.
Last update: 2024-09-20 20:36:39 UTC
README
Captcha.eu 为 TYPO3 powermail 防止垃圾邮件
此扩展实现了 captcha.eu
安装
- 仅安装此扩展 - 例如
composer require captcha-eu/typo3-powermail
- 将您的域名注册到 www.captcha.eu
- 将公钥和 restkey 添加到 TypoScript 常量(见以下示例)
- 在您的表单中添加一个名为 "captcha.eu" 的新字段(位置无关紧要)
- 祝您玩得开心
TypoScript 常量示例
plugin.tx_captchaeu.publickey = 6LdsBBUTAAAAAKMhI67inzeAvzBh5JdRRxlCwbTz
plugin.tx_captchaeu.restkey = 6LdsBBUTAAAAAKMhaaaainzeAvzBh5JdRRxlCwbyy
注意事项和最佳实践
确保在 powermail 中启用 spamshield(TypoScript 设置)
plugin.tx_powermail.settings.setup.spamshield._enable = 1
如果 powermail 识别出垃圾邮件,请保持更新(TypoScript 设置)
# Get an email if spam was recognized
plugin.tx_powermail.settings.setup.spamshield.email = spamreceiver@yourdomain.org
# Write to a logfile when spam was recognized
plugin.tx_powermail.settings.setup.spamshield.logfileLocation = typo3temp/logs/powermailSpam.log