Package de.xima.fc.mail.models
Class SystemMailServerData
java.lang.Object
de.xima.fc.mail.models.SystemMailServerData
- All Implemented Interfaces:
IMailServerData,Serializable
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionCreates a new mail server data wrapper for the system mail server.SystemMailServerData(MandantMailData mailData) Creates a new mail server data wrapper for the system mail server, used within the context of the given client scope. -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface de.xima.fc.interfaces.mail.IMailServerData
getAuthenticator, isSupportsCustomSenderName, isSupportsMixedBodyTypes
-
Constructor Details
-
SystemMailServerData
public SystemMailServerData()Creates a new mail server data wrapper for the system mail server. When sending mails from within the context of aclient, useSystemMailServerData(MandantMailData). -
SystemMailServerData
Creates a new mail server data wrapper for the system mail server, used within the context of the given client scope.- Parameters:
mailData- Client mail data, if available, when the mail is sent within the context of a client, such as from workflow actions. May benullotherwise.
-
-
Method Details
-
getMailServerScope
- Specified by:
getMailServerScopein interfaceIMailServerData
-
getHost
- Specified by:
getHostin interfaceIMailServerData
-
getPort
public int getPort()- Specified by:
getPortin interfaceIMailServerData
-
getSenderAddress
- Specified by:
getSenderAddressin interfaceIMailServerData- Returns:
- Configured sender address of the mail server.
-
getSenderName
- Specified by:
getSenderNamein interfaceIMailServerData- Returns:
- Configured sender name of the mail server.
-
getAuthName
- Specified by:
getAuthNamein interfaceIMailServerData
-
getAuthPassword
- Specified by:
getAuthPasswordin interfaceIMailServerData
-
getAuthenticationType
- Specified by:
getAuthenticationTypein interfaceIMailServerData
-
getEncrytpionType
- Specified by:
getEncrytpionTypein interfaceIMailServerData
-
isAllowCustomSenderAddress
public boolean isAllowCustomSenderAddress()- Specified by:
isAllowCustomSenderAddressin interfaceIMailServerData- Returns:
- Whether this mail server allows a custom sender address. If not, the
IMailServerData.getSenderAddress()must be used.
-
isAllowUtf8
public boolean isAllowUtf8()- Specified by:
isAllowUtf8in interfaceIMailServerData
-
getAuthAttributes
- Specified by:
getAuthAttributesin interfaceIMailServerData
-