lucee.Component
cbmailservices.AbstractProtocol
An abstract class that give identity to mail protocols when building custom or extending mail protocols the Mail Service uses.
| Constructor Summary | |
|---|---|
|
init([any properties='[runtime expression]'])
Constructor called by a Concrete Protocol. |
|
| Method Summary | |
|---|---|
any
|
getProperties()
Get properties structure map. |
any
|
getProperty(any property)
Get a property, throws exception if not found. |
any
|
propertyExists(any property)
Checks wether a given property exists or not. |
struct
|
send(any<cbmailservices.models.Mail> payload)
I send a payload via the this protocol. |
void
|
setProperties(any properties)
Set the entire properties structure map. |
void
|
setProperty(any property, any value)
Set a property. |
| Methods inherited from class lucee.Component |
|---|
| None |
| Constructor Detail |
|---|
Constructor called by a Concrete Protocol
properties - A map of configuration properties for the protocol| Method Detail |
|---|
Get properties structure map
Get a property, throws exception if not found.
property - The key of the property to return.Checks wether a given property exists or not.
property - The property nameI send a payload via the this protocol.
payload - I'm the payload to deliverySet the entire properties structure map
propertiesSet a property
property - The property name to set.value - The value of the property.