Package de.xima.fc.mail.impl
Class MailContextFactory
- java.lang.Object
-
- de.xima.fc.mail.impl.MailContextFactory
-
- All Implemented Interfaces:
IMailContextFactory
public class MailContextFactory extends Object implements IMailContextFactory
-
-
Constructor Summary
Constructors Constructor Description MailContextFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description javax.mail.Authenticator
getAuthenticator(String name, String password)
IMailContext
getContextFor(String server, Integer port, javax.mail.Authenticator auth, EMailEncryption encryption, boolean allowUtf8)
-
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.mail.interfaces.IMailContextFactory
getContextFor
-
-
-
-
Method Detail
-
getContextFor
public IMailContext getContextFor(String server, Integer port, javax.mail.Authenticator auth, EMailEncryption encryption, boolean allowUtf8)
- Specified by:
getContextFor
in interfaceIMailContextFactory
-
getAuthenticator
public javax.mail.Authenticator getAuthenticator(String name, String password)
- Specified by:
getAuthenticator
in interfaceIMailContextFactory
-
-