Details
-
Type: Sub-task
-
Status: Closed
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: 4.12.0-b1
-
Component/s: None
-
Labels:None
Description
Create new folder under components labeled messengers
Create new abstract class Messenger
Add the following methods
- send($to, $content)
- Send the content to the given location
- to - The destination of the email
- content - The content to send
- getTypes()
- Get's a list of message types supported by the messenger
- getConfigurationFields
- Returns all fields used when configuring a messenger, including any javascript to execute when the page is rendered with these fields.
- This should use the InputFields class similar to Module::getPackageFields