I would like to see hooks inside the sendMessage function. I would like to see a pre and post hooks.
The prehook should allow for setting additional template vars and allow a message to not send if the hook returns an abort.
The post hook should pass the id of the message that was stored in the database as well as all the template vars and maybe even a copy of the email's message body, subject recipients, etc.
Featured Comment