Skip to content

Commit 829960e

Browse files
committed
### Added
* New ColdBox 7 delegate `Mailable@cbmailservices` so you can easily add mailing capabilities to objects
1 parent ed5f884 commit 829960e

File tree

3 files changed

+25
-0
lines changed

3 files changed

+25
-0
lines changed

changelog.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,14 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77

88
----
99

10+
## [v2.6.0] => 2022-NOV-15
11+
12+
### Added
13+
14+
* New ColdBox 7 delegate `Mailable@cbmailservices` so you can easily add mailing capabilities to objects
15+
16+
----
17+
1018
## [v2.5.1] => 2022-NOV-1
1119

1220
### Fixed

models/delegates/Mailable.cfc

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
/**
2+
* *******************************************************************************
3+
* Copyright Since 2005 ColdBox Framework by Luis Majano and Ortus Solutions, Corp
4+
* www.ortussolutions.com
5+
* *******************************************************************************
6+
* ----
7+
* This delegate allows objects to easily send mail.
8+
*/
9+
component accessors="true" {
10+
11+
property
12+
name ="mailService"
13+
inject ="MailService@cbmailservices"
14+
delegate="newMail";
15+
16+
}

readme.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ It also sports tons of useful features for mail sending:
2121
* Mail tracking
2222
* Multiple mailers
2323
* Success and Error callbacks
24+
* `Mailable@cbmailservices` delegate for adding mailing traits to objects.
2425
* So Much More!
2526

2627
Note: One of the features is the ability to queue emails for asynchronous (non-blocking) sending. This is done via a task runner which is on by default.

0 commit comments

Comments
 (0)