For a long time I have been wanting to integrate a powerful email handler into Commentics. In fact it was on the very first roadmap before I started writing the script. Today I had the opportunity to test a few out so that I could determine whether a suitable one exists. I began with looking into PHPMailer due to this being the project that I was most familiar with, however I soon realised that the documentation was too brief and unclear to gain the necessary understanding to properly set up and configure the script as I wished.
Then, following a recommendation on Stack Overflow, I took a look at Swift Mailer. On their website I studied an extensive user guide which I was pleased to say answered all of my questions and provided many detailed examples, teaching me a lot in the process. I was certain that this was the right project for Commentics. Adding the script was simple and easy, there were only a couple of issues that I was able to fix by adjusting its configuration settings. All of my tests have worked so far.
So what does Swift Mailer do exactly? It is able to send emails using various transport methods including the standard mail function which is currently being used, Sendmail and SMTP(auth). These additional methods allow Commentics to be used by many more types of servers. It also has powerful features such as handling file attachments and email throttling. Most of all, the developers have a solid understanding of email protocols and standards, meaning that the end-code that generates the emails is fully compliant with popular apps, like Yahoo and Gmail. Overall it is a secure and robust script which I'm anticipating will greatly enhance this project.