public class EmailClientAccount extends Object
Constructor and Description |
---|
EmailClientAccount() |
EmailClientAccount(String host,
Integer port,
String securityOptions,
String protocolType,
EmailClientAccountCredentials credentials,
StorageFileLocation cacheFile)
Initializes a new instance of the EmailClientAccount
|
Modifier and Type | Method and Description |
---|---|
EmailClientAccount |
cacheFile(StorageFileLocation cacheFile)
Set cacheFile and return this.
|
EmailClientAccount |
credentials(EmailClientAccountCredentials credentials)
Set credentials and return this.
|
boolean |
equals(Object o) |
StorageFileLocation |
getCacheFile()
File with messages cache.
|
EmailClientAccountCredentials |
getCredentials()
Email client account credentials
|
String |
getHost()
Mail server host name or IP address
|
Integer |
getPort()
Mail server port
minimum: 1
maximum: 2147483647
|
String |
getProtocolType()
Type of connection protocol.
|
String |
getSecurityOptions()
Email account security mode Enum, available values: None, SSLExplicit, SSLImplicit, SSLAuto, Auto
|
int |
hashCode() |
EmailClientAccount |
host(String host)
Set host and return this.
|
EmailClientAccount |
port(Integer port)
Set port and return this.
|
EmailClientAccount |
protocolType(String protocolType)
Set protocolType and return this.
|
EmailClientAccount |
securityOptions(String securityOptions)
Set securityOptions and return this.
|
void |
setCacheFile(StorageFileLocation cacheFile)
Set cacheFile.
|
void |
setCredentials(EmailClientAccountCredentials credentials)
Set credentials.
|
void |
setHost(String host)
Set host.
|
void |
setPort(Integer port)
Set port.
|
void |
setProtocolType(String protocolType)
Set protocolType.
|
void |
setSecurityOptions(String securityOptions)
Set securityOptions.
|
String |
toString() |
public EmailClientAccount()
public EmailClientAccount(String host, Integer port, String securityOptions, String protocolType, EmailClientAccountCredentials credentials, StorageFileLocation cacheFile)
host
- Mail server host name or IP addressport
- Mail server portsecurityOptions
- Email account security mode Enum, available values: None, SSLExplicit, SSLImplicit, SSLAuto, AutoprotocolType
- Type of connection protocol. Enum, available values: IMAP, POP3, SMTP, EWS, WebDavcredentials
- Email client account credentialscacheFile
- File with messages cache. Used to provide extra functions, which are not supported by accountpublic EmailClientAccount host(String host)
host
- Mail server host name or IP addresspublic String getHost()
public void setHost(String host)
host
- Mail server host name or IP addresspublic EmailClientAccount port(Integer port)
port
- Mail server portpublic Integer getPort()
public void setPort(Integer port)
port
- Mail server portpublic EmailClientAccount securityOptions(String securityOptions)
securityOptions
- Email account security mode Enum, available values: None, SSLExplicit, SSLImplicit, SSLAuto, Autopublic String getSecurityOptions()
public void setSecurityOptions(String securityOptions)
securityOptions
- Email account security mode Enum, available values: None, SSLExplicit, SSLImplicit, SSLAuto, Autopublic EmailClientAccount protocolType(String protocolType)
protocolType
- Type of connection protocol. Enum, available values: IMAP, POP3, SMTP, EWS, WebDavpublic String getProtocolType()
public void setProtocolType(String protocolType)
protocolType
- Type of connection protocol. Enum, available values: IMAP, POP3, SMTP, EWS, WebDavpublic EmailClientAccount credentials(EmailClientAccountCredentials credentials)
credentials
- Email client account credentialspublic EmailClientAccountCredentials getCredentials()
public void setCredentials(EmailClientAccountCredentials credentials)
credentials
- Email client account credentialspublic EmailClientAccount cacheFile(StorageFileLocation cacheFile)
cacheFile
- File with messages cache. Used to provide extra functions, which are not supported by accountpublic StorageFileLocation getCacheFile()
public void setCacheFile(StorageFileLocation cacheFile)
cacheFile
- File with messages cache. Used to provide extra functions, which are not supported by accountCopyright © 2020. All rights reserved.