Package de.xima.fc.mail.models
Class CustomMailServerData
java.lang.Object
de.xima.fc.mail.models.CustomMailServerData
- All Implemented Interfaces:
- IMailServerData,- Serializable
- See Also:
- 
Field SummaryFieldsModifier and TypeFieldDescriptionprotected booleanprotected Stringprotected Stringprotected javax.mail.Authenticatorprotected Stringprotected EMailAuthenticationTypeprotected EMailEncryptionprotected int
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionjavax.mail.AuthenticatorDeprecated.getHost()intgetPort()booleanbooleanvoidsetAllowCustomSenderAddress(boolean allowCustomSenderAddress) voidsetAllowUtf8(boolean allowUtf8) voidsetAuthAtttributes(Map<String, String> authAtttributes) voidsetAuthenticator(javax.mail.Authenticator customAuthenticator) Deprecated.voidsetAuthName(String authName) voidsetAuthPassword(String authPassword) voidvoidsetMailAuthenticationType(EMailAuthenticationType mailAuthenticationType) voidsetMailEncryption(EMailEncryption mailEncryption) voidsetMailServerScope(EMailServerScope mailServerScope) Sets the mail server scope.voidsetPort(int port) voidsetSenderAddress(String senderAddress) voidsetSenderName(String senderName) Methods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface de.xima.fc.interfaces.mail.IMailServerDataisSupportsCustomSenderName, isSupportsMixedBodyTypes
- 
Field Details- 
host
- 
portprotected int port
- 
authName
- 
authPassword
- 
mailAuthenticationType
- 
mailEncryption
- 
allowUtf8protected boolean allowUtf8
- 
authAtttributes
- 
customAuthenticatorprotected transient javax.mail.Authenticator customAuthenticator
 
- 
- 
Constructor Details- 
CustomMailServerDatapublic CustomMailServerData()
 
- 
- 
Method Details- 
getMailServerScope- Specified by:
- getMailServerScopein interface- IMailServerData
 
- 
setMailServerScopeSets the mail server scope. Defaults toEMailServerScope.CUSTOMwhen not set explicitly.- Parameters:
- mailServerScope- The new mail server scope.
 
- 
getMailAuthenticationType
- 
setMailAuthenticationType
- 
getMailEncryption
- 
setMailEncryption
- 
getAuthAtttributes
- 
setAuthAtttributes
- 
setHost
- 
setPortpublic void setPort(int port) 
- 
setSenderAddress- Parameters:
- senderAddress- Sender address of the mail server.
 
- 
setSenderName- Parameters:
- senderName- Sender name of the mail server.
 
- 
setAuthName
- 
setAuthPassword
- 
setAllowUtf8public void setAllowUtf8(boolean allowUtf8) 
- 
setAllowCustomSenderAddresspublic void setAllowCustomSenderAddress(boolean allowCustomSenderAddress) 
- 
getHost- Specified by:
- getHostin interface- IMailServerData
 
- 
getPortpublic int getPort()- Specified by:
- getPortin interface- IMailServerData
 
- 
getSenderAddress- Specified by:
- getSenderAddressin interface- IMailServerData
- Returns:
- Configured sender address of the mail server.
 
- 
getSenderName- Specified by:
- getSenderNamein interface- IMailServerData
- Returns:
- Configured sender name of the mail server.
 
- 
getAuthName- Specified by:
- getAuthNamein interface- IMailServerData
 
- 
getAuthPassword- Specified by:
- getAuthPasswordin interface- IMailServerData
 
- 
getAuthenticationType- Specified by:
- getAuthenticationTypein interface- IMailServerData
 
- 
getEncrytpionType- Specified by:
- getEncrytpionTypein interface- IMailServerData
 
- 
isAllowUtf8public boolean isAllowUtf8()- Specified by:
- isAllowUtf8in interface- IMailServerData
 
- 
isAllowCustomSenderAddresspublic boolean isAllowCustomSenderAddress()- Specified by:
- isAllowCustomSenderAddressin interface- IMailServerData
- Returns:
- Whether this mail server allows a custom sender address. If not, the IMailServerData.getSenderAddress()must be used.
 
- 
getAuthAttributes- Specified by:
- getAuthAttributesin interface- IMailServerData
 
- 
getAuthenticatorDeprecated.- Specified by:
- getAuthenticatorin interface- IMailServerData
 
- 
setAuthenticatorDeprecated.
 
-