📬
📬
📬
📬
cbMailServices
Search…
Introduction
Intro
Release History
What's New With 2.2.0
What's New With 2.1.0
What's New With 2.0.0
About This Book
Essentials
Installation
Configuration
Sending Mail
Advanced
Async Mail
Building Protocols
Mail Events
Powered By
GitBook
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:
1
moduleSettings
=
{
2
cbMailservices
:
{
3
defaultProtocol
:
"default"
,
4
mailers
:
{
5
"default"
:
{
class
:
"CFmail"
},
6
"memory"
:
{
class
:
"InMemory"
},
7
"mailgun"
=
{
8
class
=
"Mailgun"
,
9
// Required properties
10
properties
=
{
11
ApiKey
=
'123'
,
12
domain
=
'mg.somedomain.com'
13
}
14
}
15
}
16
}
17
}
Copied!
​
Intro - Previous
Release History
Next
What's New With 2.1.0
Last modified
19d ago
Export as PDF
Copy link
Edit on GitHub
Contents
New Features and Improvements
PreMailSend
New Module Setting: runQueueTask
Mailgun Mailer Protocol