Package de.xima.fc.mail.models
Class SystemMailServerData
- java.lang.Object
 - 
- de.xima.fc.mail.models.SystemMailServerData
 
 
- 
- All Implemented Interfaces:
 IMailServerData,Serializable
public class SystemMailServerData extends Object implements IMailServerData
- See Also:
 - Serialized Form
 
 
- 
- 
Constructor Summary
Constructors Constructor Description SystemMailServerData()Creates 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
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Map<String,String>getAuthAttributes()EMailAuthenticationTypegetAuthenticationType()StringgetAuthName()StringgetAuthPassword()EMailEncryptiongetEncrytpionType()StringgetHost()EMailServerScopegetMailServerScope()intgetPort()StringgetSenderAddress()StringgetSenderName()booleanisAllowCustomSenderAddress()booleanisAllowUtf8()- 
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 Detail
- 
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
public SystemMailServerData(MandantMailData mailData)
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 Detail
- 
getMailServerScope
public EMailServerScope getMailServerScope()
- Specified by:
 getMailServerScopein interfaceIMailServerData
 
- 
getHost
public String getHost()
- Specified by:
 getHostin interfaceIMailServerData
 
- 
getPort
public int getPort()
- Specified by:
 getPortin interfaceIMailServerData
 
- 
getSenderAddress
public String getSenderAddress()
- Specified by:
 getSenderAddressin interfaceIMailServerData- Returns:
 - Configured sender address of the mail server.
 
 
- 
getSenderName
public String getSenderName()
- Specified by:
 getSenderNamein interfaceIMailServerData- Returns:
 - Configured sender name of the mail server.
 
 
- 
getAuthName
public String getAuthName()
- Specified by:
 getAuthNamein interfaceIMailServerData
 
- 
getAuthPassword
public String getAuthPassword()
- Specified by:
 getAuthPasswordin interfaceIMailServerData
 
- 
getAuthenticationType
public EMailAuthenticationType getAuthenticationType()
- Specified by:
 getAuthenticationTypein interfaceIMailServerData
 
- 
getEncrytpionType
public EMailEncryption 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
public Map<String,String> getAuthAttributes()
- Specified by:
 getAuthAttributesin interfaceIMailServerData
 
 - 
 
 -