What's New With 2.2.0

June 15 2022

New Features and Improvements

Let’s investigate the new features and improvements.

PreMailSend

  • Ability for the preMailSend event to influence the mail record thanks to @gpickin

New Module Setting: runQueueTask

  • This setting is defaulted to true.
    • If false it will not run the mail queue task in the background

Mailgun Mailer Protocol

You can now register a MailGun protocols by using its alias:
moduleSettings = {
cbMailservices : {
defaultProtocol : "default",
mailers : {
"default" : { class : "CFmail" },
"memory" : { class : "InMemory" },
"mailgun" = {
class = "Mailgun",
// Required properties
properties = {
ApiKey = '123',
domain = 'mg.somedomain.com'
}
}
}
}
}

​