To make all the necessary enhancements, we used:
- Swift Mailer (a library for building PHP-based emailing solutions)
- Symphony Messenger (a cloud-based instant messaging service)
- SendGrid’s email infrastructure
Together, these technologies enabled the email automation module to send mass messages without using the client’s servers.
Still, bringing the client’s idea to life wasn’t devoid of challenges. The most daunting task was to implement the asynchronous sending of Swift Mailer emails. The main problem was that they were being processed not during Symphony Messenger handlers but during the request’s death. So, to make everything function as expected, we did persistent spool running, sending messages by cron command every 5-15 seconds.
Results
We delivered all requested upgrades in time, and the client was satisfied with our high code quality. Transformify was particularly pleased with our openness to addressing issues the minute they arise.
The email automation module is now up and running and allows the client’s customers to send mass emails based on predefined rules in a snap. As a result, the right people receive relevant messages at the right moment. The function can be accessed by both VMS and FMS users.