📬
cbMailServices
  • Introduction
    • Release History
      • What's New With 2.8.0
      • What's New With 2.7.x
      • What's New With 2.6
      • What's New With 2.5.x
      • What's New With 2.4.0
      • What's New With 2.3.x
      • What's New With 2.2.0
      • What's New With 2.1.0
      • What's New With 2.0.0
    • About This Book
      • Author
  • Essentials
    • Installation
    • Configuration
    • 📧Sending Mail
  • Advanced
    • Async Mail
    • Building Protocols
    • Mail Events
Powered by GitBook
On this page
  • New Features and Improvements
  • PreMailSend
  • New Module Setting: runQueueTask
  • Mailgun Mailer Protocol

Was this helpful?

Edit on GitHub
Export as PDF
  1. Introduction
  2. Release History

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'
				}
			}
		}
	}
}

PreviousWhat's New With 2.3.xNextWhat's New With 2.1.0

Last updated 2 years ago

Was this helpful?