Typemill 2.22.0: LDAP and Mail Integration

Sebastian Schürmanns |

Typemill version 2.22.0 is here with LDAP authentication and improved mail handling. The new release also includes a Payhip plugin for selling digital products. Download the latest version of Typemill from the start page.

Mail Integration

PHPMailer is now integrated directly into the Typemill core, which means you can use it in Docker setups without additional configuration. I've also improved the test mail feature with better error and success messages that appear directly below the input field, so you get immediate feedback when testing your mail configuration. If you used the mail plugin before, then please move your mail configurations to the system settings. I already updated the contactform plugin, so it works with the new mail feature now.

LDAP Authentication

The new LDAP plugin allows you to authenticate users against an LDAP directory, which is particularly useful for organizations and businesses that want to integrate Typemill into their existing infrastructure. The authentication controller has been refactored for better clarity and extensibility, and I've added a new event called onUserAuthenticate that you can use in your own plugins. Error handling has also been improved, so you'll see more detailed error messages when displayErrorDetails is enabled. The LDAP plugin for Typemill can be used with a BUSINESS license.

Payhip Plugin

The new Payhip plugin allows you to sell digital products like ebooks or themes directly from your Typemill website. This is a simple integration, but it should be useful for anyone who wants to monetize their content. Payhip is one of the very few shop providers who also allow selling physical goods. The setup process of selling products in Payhip is pretty simple.

Under the Hood

I've cleaned up all event classes to make the codebase more maintainable and easier to extend. These changes might not be visible to most users, but they will make future development smoother.

For more details, please refer to the changelog.