A fresh foundation
for PHP email.
PHP email deserves a modern engine.
Since retiring in 2012, I’ve continued to enjoy developing software and revisiting projects that have been part of my work over the years. In January 2021, I began giving several of those personal projects renewed attention.
I’ve since relaunched several projects with PHP 8 support, including QuickSkin. I’m also revisiting PHPMailer Pro and FormValidator.
My earlier PHPMailer-related work prompted a broader rethink of how I wanted to approach PHP email. My priorities are straightforward: clean architecture, practical tools, clear documentation, and dependable support. That thinking led to PHPMailEngine.
When I started Worx International Inc., PHP’s built-in `mail()` function was our starting point for sending email. As our applications needed attachments, embedded images, and more flexible delivery options, we needed an approach that could handle those requirements consistently.
What I wanted was a simple interface: specify the recipients, sender, message, and attachments, then let the engine handle the details. Messages could contain plain text, HTML, or both. Recipient lists could include multiple addresses, with SMTP delivery, endpoint failover, and retries built into the workflow.
So, I built it.
PHPMailEngine brings those ideas together in an email engine for PHP 8.2 and later. It supports attachments, embedded images, multipart messages, and SMTP sending, with a consistent interface designed for modern PHP applications.
I’ve also added token-based personalization, allowing reusable message templates to produce individualized emails from recipient data. Combined with recipient-list handling, SMTP failover, and retries, this makes it possible to manage a mailing while tailoring each message to its recipient.
Returning to these projects gives me the freedom to start fresh: improve the structure, simplify naming, and build around the way I want to develop software today.
I plan to release PHPMailEngine on SourceForge. More details will follow as the launch approaches.
More than mail scripts.
Email is part of the application. The way developers configure it, compose it, and work with it should feel like part of the application too.
PHPMailEngine starts with that idea: move beyond scattered scripts and configuration examples toward a coherent approach to PHP email. Modern PHP is the starting point, with clear structure and useful tools guiding the direction.
Development is completed, we are in process of finalizing testing. This is the beginning of a developer product shaped around three principles.
Clean architecture.
A thoughtful foundation for modern PHP applications.
Practical tools.
Built around the work developers actually need to do.
No legacy baggage.
A fresh start. Modern PHP. Room to move forward.