-
-
Notifications
You must be signed in to change notification settings - Fork 16
/
Copy pathModuleConfig.cfc
59 lines (53 loc) · 1.67 KB
/
ModuleConfig.cfc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
/**
* *******************************************************************************
* Copyright Since 2005 ColdBox Framework by Luis Majano and Ortus Solutions, Corp
* www.ortussolutions.com
* *******************************************************************************
* ----
* Module Config
*
* @author Luis Majano <[email protected]>
*/
component {
// Module Properties
this.title = "ColdBox Mail Services";
this.author = "Ortus Solutions";
this.webURL = "https://www.ortussolutions.com";
this.description = "A module that allows you to leverage many mail service protocols in a nice abstracted API";
// Model Namespace
this.modelNamespace = "cbmailservices";
// CF Mapping
this.cfmapping = "cbmailservices";
// Mixin Helpers
this.applicationHelper = [ "helpers/mixins.cfm" ];
/**
* Configure the module
*/
function configure(){
// Module Settings
settings = {
// The default token Marker Symbol
tokenMarker : "@",
// Default protocol to use, it must be defined in the mailers configuration
defaultProtocol : "default",
// Here you can register one or many mailers by name
mailers : { "default" : { class : "CFMail" } },
// The defaults for all mail config payloads and protocols
defaults : {},
// Whether the scheduled task is running or not
runQueueTask : true
};
// Listeners
interceptorSettings = { customInterceptionPoints : "preMailSend,postMailSend" };
}
/**
* Fired when the module is registered and activated.
*/
function onLoad(){
}
/**
* Fired when the module is unregistered and unloaded
*/
function onUnload(){
}
}