Editorial

What Happened to Email?

Published on:

June 28, 2014

In version 5.2.3 we made significant updates to the email client, addressing issues with Linux systems and multi-tenant environments. The email client initially used a single loop, which caused issues with stability and multi-tenant functionality - a problem with one email server affected all domains. The solution was to switch to a multi-threaded client, but this introduced its own challenges, especially with the STARTTLS command during the switch between unencrypted and encrypted traffic. After a second build to fix these issues, the email client is now more reliable, with fast, independent email delivery for each tenant. If you upgraded before June 28, we recommend reapplying the upgrade to ensure all the fixes are in place.

Those who watched release 5.2.3 closely might wonder what was going on with the email client. The first build had major problems with Linux operating systems. A second build was necessary to get it working again with popular email services.

Email has become an essential component in today's telephone systems. Many vendors use the term "unified communications" because of this. Honestly, we never understood what this term stands for, so we avoided the buzzword. Notwithstanding, the good old SMTP protocol delivers notifications and messages that are available on a telephone system, fast and reliably across a very large range of devices.

The old email client was using a single loop for all system messages. Every email reset the client, and he or she could start all over again. We had the email client run in its own thread, so things like timeouts and connects could be easily programmed.

There were problems with this approach, however. First of all, multithreaded tasks are always a source for trouble. If problems occur, they occur on a random basis; some of them occur only sometimes, and those are the hardest to fix. That wasn’t even the biggest problem, as we got the email client working pretty stable. A bigger problem was that in a multi-tenant environment, every domain might use its own email server. When that email server was down, all other domains were also affected. Email would still eventually go out, but it could take a long time before it happened. This was against the rule that every tenant should be working independently from anyone else.

When we changed the client to multi-tenant we of course tried to preserve the proven logic from the single loop client. Because most email servers support a dynamic switching from unencrypted to encrypted traffic using the STARTTLS command, however, our new client got into trouble when the second email was sent out right after the first. The TLS context was still the same, and what the PBX essentially did was a CONTINUETLS command. Unfortunately, no email server supports this, so we needed to come up with another build that also fixes that problem.

If you upgraded to 5.2.3 before June 28, we recommend you repeat the upgrade to make sure you got those last-minute email patches. Then you can enjoy fast and reliable email like never before.

Latest Articles

View All

Prepaid Cloud Instances: The Future of PBX Deployment

Prepaid cloud instances are transforming how PBX systems are deployed by offering a faster, simpler, and more flexible approach. With Vodia PBX now available on AWS, Azure, and DigitalOcean, businesses can launch a fully licensed, production-ready phone system in just minutes, without complicated setup or licensing delays. These preconfigured environments allow IT teams, decision-makers, and MSPs to test real-world VoIP performance, MS Teams integration, and mobile apps directly within their own cloud account. By removing traditional friction and offering full control, Vodia’s prepaid cloud instances provide a smarter and more efficient way to evaluate and deploy a modern PBX.

July 25, 2025

Vodia to Attend ChannelCon 2025

Vodia will participate in ChannelCon 2025, taking place in Nashville, TN, from July 29 to 31, with Sales Engineer Eric Altman attending on behalf of the company. ChannelCon, hosted by the Global Technology Industry Alliance (GTIA), is the premier vendor-neutral event dedicated to the worldwide IT channel. It brings together MSPs, service providers, vendors, and distributors for three days of expert panels, networking sessions, and special events designed to foster innovation and collaboration in the tech industry. Altman will highlight Vodia’s latest CRM integrations underscoring Vodia’s commitment to equipping partners with dynamic, enterprise-grade phone systems.

July 24, 2025

Why Vodia is Your Partner for AI-Driven Business Growth

Vodia is at the forefront of AI-driven business communications, offering a powerful PBX platform with real-time AI features like OpenAI integration and call transcription via Whisper. Designed for businesses of all sizes, Vodia tailors AI solutions across industries such as healthcare, hospitality, and education. By integrating with leading AI platforms like ActiveCampaign, Odoo and monday.com, Vodia enhances customer experience, internal collaboration, and operational efficiency. Focused on security and compliance, Vodia supports businesses with training and practical steps to help them successfully drive growth through smarter communications.

July 22, 2025