History log of /plugin/smtp/_test/ (Results 1 – 7 of 7)
Revision Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
30b0aec128-Jun-2026 Andreas Gohr <andi@splitbrain.org>

Add option to ignore the SMTP server's certificate

New smtp_allow_insecure config option that, when enabled, makes the mailer
skip TLS certificate verification, allowing SMTP servers with self-signe

Add option to ignore the SMTP server's certificate

New smtp_allow_insecure config option that, when enabled, makes the mailer
skip TLS certificate verification, allowing SMTP servers with self-signed or
otherwise untrusted certificates to be used (issue #32).

The integration test now also covers STARTTLS against a self-signed
certificate, and the pretest hook starts Mailpit with a generated cert so
that test can run.

Closes #32

show more ...

8f9f716828-Jun-2026 Andreas Gohr <andi@splitbrain.org>

Add Mailpit based SMTP integration test

Delivers a real mail through the plugin to a Mailpit server and verifies
delivery (From/To/Cc, envelope Bcc and body) via the Mailpit HTTP API.

The test only

Add Mailpit based SMTP integration test

Delivers a real mail through the plugin to a Mailpit server and verifies
delivery (From/To/Cc, envelope Bcc and body) via the Mailpit HTTP API.

The test only runs when MAILPIT_HOST is set, otherwise it is skipped so
the regular test suite is unaffected. In CI a _test/pretest.sh hook starts
Mailpit and exports the connection details, so the test runs as part of the
normal plugin_smtp group without a separate workflow job.

show more ...

ee5c020527-Jun-2026 Andreas Gohr <andi@splitbrain.org>

Switch from bundled subtrees to Composer dependencies

Replace the git-subtree vendored copies of txthinking/mailer and
psr/log with Composer-managed dependencies under vendor/, loaded
automatically

Switch from bundled subtrees to Composer dependencies

Replace the git-subtree vendored copies of txthinking/mailer and
psr/log with Composer-managed dependencies under vendor/, loaded
automatically by DokuWiki's plugin autoloader. The custom PSR-4
loader.php is no longer needed and has been removed.

Also modernize the plugin to current DokuWiki conventions:
- namespaced base classes, short array syntax, PSR code style
- rebuild the admin test form with dokuwiki\Form\Form
- key recipients by address in Message::getTo() so RCPT TO works
with the mailer's key-based iteration
- guard the Bcc continuation loop against running past the body
- avoid an undefined-key warning in getEHLO() on CLI sends
- migrate tests to the *Test.php naming and test namespace
- replace Travis with the shared DokuWiki GitHub Action

show more ...


/plugin/smtp/.github/workflows/dokuwiki.yml
GeneralTest.php
MessageTest.php
/plugin/smtp/action.php
/plugin/smtp/admin.php
/plugin/smtp/classes/Logger.php
/plugin/smtp/classes/Message.php
/plugin/smtp/composer.json
/plugin/smtp/composer.lock
/plugin/smtp/conf/metadata.php
/plugin/smtp/deleted.files
/plugin/smtp/helper.php
/plugin/smtp/lang/sk/intro.txt
/plugin/smtp/lang/sk/lang.php
/plugin/smtp/lang/sk/settings.php
/plugin/smtp/plugin.info.txt
/plugin/smtp/style.css
/plugin/smtp/vendor/autoload.php
/plugin/smtp/vendor/composer/ClassLoader.php
/plugin/smtp/vendor/composer/InstalledVersions.php
/plugin/smtp/vendor/composer/LICENSE
/plugin/smtp/vendor/composer/autoload_classmap.php
/plugin/smtp/vendor/composer/autoload_namespaces.php
/plugin/smtp/vendor/composer/autoload_psr4.php
/plugin/smtp/vendor/composer/autoload_real.php
/plugin/smtp/vendor/composer/autoload_static.php
/plugin/smtp/vendor/composer/installed.json
/plugin/smtp/vendor/composer/installed.php
/plugin/smtp/vendor/composer/platform_check.php
/plugin/smtp/vendor/psr/log/LICENSE
/plugin/smtp/vendor/psr/log/Psr/Log/AbstractLogger.php
/plugin/smtp/vendor/psr/log/Psr/Log/InvalidArgumentException.php
/plugin/smtp/vendor/psr/log/Psr/Log/LogLevel.php
/plugin/smtp/vendor/psr/log/Psr/Log/LoggerAwareInterface.php
/plugin/smtp/vendor/psr/log/Psr/Log/LoggerAwareTrait.php
/plugin/smtp/vendor/psr/log/Psr/Log/LoggerInterface.php
/plugin/smtp/vendor/psr/log/Psr/Log/LoggerTrait.php
/plugin/smtp/vendor/psr/log/Psr/Log/NullLogger.php
/plugin/smtp/vendor/psr/log/Psr/Log/Test/DummyTest.php
/plugin/smtp/vendor/psr/log/Psr/Log/Test/LoggerInterfaceTest.php
/plugin/smtp/vendor/psr/log/Psr/Log/Test/TestLogger.php
/plugin/smtp/vendor/psr/log/README.md
/plugin/smtp/vendor/psr/log/composer.json
/plugin/smtp/vendor/txthinking/mailer/LICENSE
/plugin/smtp/vendor/txthinking/mailer/composer.json
/plugin/smtp/vendor/txthinking/mailer/src/Mailer.php
/plugin/smtp/vendor/txthinking/mailer/src/Mailer/Exceptions/CodeException.php
/plugin/smtp/vendor/txthinking/mailer/src/Mailer/Exceptions/CryptoException.php
/plugin/smtp/vendor/txthinking/mailer/src/Mailer/Exceptions/SMTPException.php
/plugin/smtp/vendor/txthinking/mailer/src/Mailer/Exceptions/SendException.php
/plugin/smtp/vendor/txthinking/mailer/src/Mailer/Message.php
/plugin/smtp/vendor/txthinking/mailer/src/Mailer/SMTP.php
1992a18527-Aug-2025 Anna Dabrowska <dabrowska@cosmocode.de>

make test compatible with DW test suite

210e2f5d24-Feb-2020 Andreas Gohr <gohr@cosmocode.de>

fixed tests


/plugin/smtp/.travis.yml
message.test.php
/plugin/smtp/action.php
/plugin/smtp/admin.php
/plugin/smtp/admin.svg
/plugin/smtp/classes/Message.php
/plugin/smtp/conf/default.php
/plugin/smtp/conf/metadata.php
/plugin/smtp/helper.php
/plugin/smtp/lang/ar/intro.txt
/plugin/smtp/lang/ar/lang.php
/plugin/smtp/lang/ar/settings.php
/plugin/smtp/lang/cs/intro.txt
/plugin/smtp/lang/cs/lang.php
/plugin/smtp/lang/cs/settings.php
/plugin/smtp/lang/da/intro.txt
/plugin/smtp/lang/da/lang.php
/plugin/smtp/lang/da/settings.php
/plugin/smtp/lang/de/intro.txt
/plugin/smtp/lang/de/lang.php
/plugin/smtp/lang/de/settings.php
/plugin/smtp/lang/en/intro.txt
/plugin/smtp/lang/en/lang.php
/plugin/smtp/lang/en/settings.php
/plugin/smtp/lang/eo/intro.txt
/plugin/smtp/lang/eo/lang.php
/plugin/smtp/lang/eo/settings.php
/plugin/smtp/lang/es/intro.txt
/plugin/smtp/lang/es/lang.php
/plugin/smtp/lang/es/settings.php
/plugin/smtp/lang/fr/intro.txt
/plugin/smtp/lang/fr/lang.php
/plugin/smtp/lang/fr/settings.php
/plugin/smtp/lang/ja/intro.txt
/plugin/smtp/lang/ja/lang.php
/plugin/smtp/lang/ja/settings.php
/plugin/smtp/lang/ko/intro.txt
/plugin/smtp/lang/ko/lang.php
/plugin/smtp/lang/ko/settings.php
/plugin/smtp/lang/nl/intro.txt
/plugin/smtp/lang/nl/lang.php
/plugin/smtp/lang/nl/settings.php
/plugin/smtp/lang/no/intro.txt
/plugin/smtp/lang/no/lang.php
/plugin/smtp/lang/no/settings.php
/plugin/smtp/lang/ru/intro.txt
/plugin/smtp/lang/ru/lang.php
/plugin/smtp/lang/ru/settings.php
/plugin/smtp/lang/sk/settings.php
/plugin/smtp/lang/sv/intro.txt
/plugin/smtp/lang/sv/lang.php
/plugin/smtp/lang/sv/settings.php
/plugin/smtp/lang/zh/intro.txt
/plugin/smtp/lang/zh/lang.php
/plugin/smtp/lang/zh/settings.php
/plugin/smtp/plugin.info.txt
/plugin/smtp/subtree/txtthinking/Mailer/composer.json
/plugin/smtp/subtree/txtthinking/Mailer/composer.lock
/plugin/smtp/subtree/txtthinking/Mailer/src/Mailer/SMTP.php
25673c6226-Jul-2015 Andreas Gohr <andi@splitbrain.org>

better recipient handling


message.test.php
/plugin/smtp/action.php
/plugin/smtp/admin.php
/plugin/smtp/classes/Logger.php
/plugin/smtp/classes/Message.php
/plugin/smtp/helper.php
/plugin/smtp/loader.php
/plugin/smtp/subtree/php-fig/log/.gitignore
/plugin/smtp/subtree/php-fig/log/LICENSE
/plugin/smtp/subtree/php-fig/log/Psr/Log/AbstractLogger.php
/plugin/smtp/subtree/php-fig/log/Psr/Log/InvalidArgumentException.php
/plugin/smtp/subtree/php-fig/log/Psr/Log/LogLevel.php
/plugin/smtp/subtree/php-fig/log/Psr/Log/LoggerAwareInterface.php
/plugin/smtp/subtree/php-fig/log/Psr/Log/LoggerAwareTrait.php
/plugin/smtp/subtree/php-fig/log/Psr/Log/LoggerInterface.php
/plugin/smtp/subtree/php-fig/log/Psr/Log/LoggerTrait.php
/plugin/smtp/subtree/php-fig/log/Psr/Log/NullLogger.php
/plugin/smtp/subtree/php-fig/log/Psr/Log/Test/LoggerInterfaceTest.php
/plugin/smtp/subtree/php-fig/log/README.md
/plugin/smtp/subtree/php-fig/log/composer.json
/plugin/smtp/subtree/txtthinking/Mailer/.gitignore
/plugin/smtp/subtree/txtthinking/Mailer/LICENSE
/plugin/smtp/subtree/txtthinking/Mailer/README.md
/plugin/smtp/subtree/txtthinking/Mailer/composer.json
/plugin/smtp/subtree/txtthinking/Mailer/composer.lock
/plugin/smtp/subtree/txtthinking/Mailer/phpunit.xml
/plugin/smtp/subtree/txtthinking/Mailer/src/Mailer.php
/plugin/smtp/subtree/txtthinking/Mailer/src/Mailer/Exceptions/CodeException.php
/plugin/smtp/subtree/txtthinking/Mailer/src/Mailer/Exceptions/CryptoException.php
/plugin/smtp/subtree/txtthinking/Mailer/src/Mailer/Exceptions/SMTPException.php
/plugin/smtp/subtree/txtthinking/Mailer/src/Mailer/Exceptions/SendException.php
/plugin/smtp/subtree/txtthinking/Mailer/src/Mailer/Message.php
/plugin/smtp/subtree/txtthinking/Mailer/src/Mailer/SMTP.php
/plugin/smtp/subtree/txtthinking/Mailer/tests/MailerTest.php
/plugin/smtp/subtree/txtthinking/Mailer/tests/SMTPTest.php
/plugin/smtp/subtree/txtthinking/Mailer/tests/TestCase.php
4dc2247426-Jul-2015 Andreas Gohr <andi@splitbrain.org>

wizard generated initial checkin