WEB-INF.cftags.component coldbox.system.core.mail.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<struct>
|
getProperties()
Get properties structure map. |
any
|
getProperty(any property)
Get a property, throws exception if not found. |
any<Boolean>
|
propertyExists(any property)
Checks wether a given property exists or not. |
struct
|
send(any<Mail> payload)
I send a payload via the this protocol. |
void
|
setProperties(any<struct> properties)
Set the entire properties structure map. |
void
|
setProperty(any property, any value)
Set a property. |
Methods inherited from class WEB-INF.cftags.component |
---|
None |
Constructor Detail |
---|
Constructor called by a Concrete Protocol
properties
- A map of configuration properties for the protocolMethod 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
properties
Set a property
property
- The property name to set.value
- The value of the property.