| #
ee5c0205
|
| 27-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 ...
|
| #
ae907de1
|
| 11-Sep-2022 |
Moritz Raguschat <moritz.raguschat@web.de> |
Update helper.php
In the case that SERVER_ADDR is IPv6 (I think this is always the case when the remote visitor of the website is accessing it via IPv6), the string "IPv6:" needs to be prepended acc
Update helper.php
In the case that SERVER_ADDR is IPv6 (I think this is always the case when the remote visitor of the website is accessing it via IPv6), the string "IPv6:" needs to be prepended according to RFC 2821, or SMTP servers like postfix will reject the HELO due to "invalid ip address".
Visitors who connect via IPv4 would not encounter this error I think, because SERVER_ADDR would then also be the IPv4 address of the server.
Maybe even better would be to always use IPv4 if the server does have an IPv4 address, even if it is visited via IPv6 at the moment. But I don't know a PHP method to just get the IPv4 address. Only a few years ago I often encountered problems with IPv6, with many mail servers (incl. GMail) rejecting mail that was sent via IPv6 due to configuration errors. But one can hope that this should be a thing of the past now.
show more ...
|