Class ZmDataSource
Class Detail
ZmDataSource(type, id)
Creates a data source.
Field Detail
<static>
ZmDataSource.CONNECT_CLEAR
Defines the "cleartext" connection type.
<static>
ZmDataSource.CONNECT_SSL
Defines the "ssl" connection type.
Method Detail
<static>
ZmDataSource.addProvider(provider)
Adds a data source provider. The registered providers are objects that
specify default values for data sources. This can be used to show the
user a list of known email providers (e.g. Yahoo! Mail) to pre-fill the
account information.
{int}
getPort()
Gets the port.
<static>
{Hash}
ZmDataSource.getProviderForAccount(account)
Gets the provider.
<static>
{Hash}
ZmDataSource.getProviderForHost(host)
Gets the provider.
<static>
{Array}
ZmDataSource.getProviders()
Gets the providers.
<static>
ZmDataSource.removeAllProviders()
Removes all providers.
setEmail(email)
NOTE: Email is same as the identity's from address.
{Object}
testConnection(callback, errorCallback, batchCommand, noBusyOverlay)
Tests the data source connection.
|
||||||||||||||||||||||||||||
Documentation generated by JsDoc Toolkit 2.3.0 on Tue Jun 28 2016 21:01:35 GMT-0400 (EDT)
|