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, wait
Methods 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 benull
otherwise.
-
-
Method Details
-
getMailServerScope
- Specified by:
getMailServerScope
in interfaceIMailServerData
-
getHost
- Specified by:
getHost
in interfaceIMailServerData
-
getPort
public int getPort()- Specified by:
getPort
in interfaceIMailServerData
-
getSenderAddress
- Specified by:
getSenderAddress
in interfaceIMailServerData
- Returns:
- Configured sender address of the mail server.
-
getSenderName
- Specified by:
getSenderName
in interfaceIMailServerData
- Returns:
- Configured sender name of the mail server.
-
getAuthName
- Specified by:
getAuthName
in interfaceIMailServerData
-
getAuthPassword
- Specified by:
getAuthPassword
in interfaceIMailServerData
-
getAuthenticationType
- Specified by:
getAuthenticationType
in interfaceIMailServerData
-
getEncrytpionType
- Specified by:
getEncrytpionType
in interfaceIMailServerData
-
isAllowCustomSenderAddress
public boolean isAllowCustomSenderAddress()- Specified by:
isAllowCustomSenderAddress
in 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:
isAllowUtf8
in interfaceIMailServerData
-
getAuthAttributes
- Specified by:
getAuthAttributes
in interfaceIMailServerData
-