Package de.xima.fc.mail.interfaces
Interface IMailContextFactory
-
- All Known Implementing Classes:
MailContextFactory
,MailContextFactory
public interface IMailContextFactory
Interface for the factory for creating mail contexts- Author:
- XIMA MEDIA GmbH, Dresden
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Deprecated Methods Modifier and Type Method Description default javax.mail.Authenticator
getAuthenticator(String username, String password)
Deprecated.build your ownAuthenticator
IMailContext
getContextFor(IMailServerData serverData)
Creates an mail context for the given server datadefault IMailContext
getContextFor(String server, Integer port, javax.mail.Authenticator auth, EMailEncryption encryption)
Deprecated.default IMailContext
getContextFor(String server, Integer port, javax.mail.Authenticator auth, EMailEncryption encryption, boolean allowUtf8)
Deprecated.
-
-
-
Method Detail
-
getContextFor
IMailContext getContextFor(IMailServerData serverData)
Creates an mail context for the given server data- Parameters:
serverData
- the server data- Returns:
- the mail context
-
getContextFor
@Deprecated default IMailContext getContextFor(String server, Integer port, javax.mail.Authenticator auth, EMailEncryption encryption)
Deprecated.
-
getContextFor
@Deprecated default IMailContext getContextFor(String server, Integer port, javax.mail.Authenticator auth, EMailEncryption encryption, boolean allowUtf8)
Deprecated.
-
getAuthenticator
@Deprecated default javax.mail.Authenticator getAuthenticator(String username, String password)
Deprecated.build your ownAuthenticator
-
-