public final class MailContextProvider extends Object
| Modifier and Type | Method and Description | 
|---|---|
static javax.mail.Authenticator | 
getAuthenticatorFor(String username,
                   String password)  | 
static IMailContext | 
getContextFor(Mandant m)  | 
static IMailContext | 
getContextFor(MandantMailData mailData)  | 
static IMailContext | 
getContextFor(String server,
             Integer port,
             javax.mail.Authenticator auth,
             EMailEncryption encryption)  | 
static javax.mail.Address | 
getSenderFromContext(Mandant m)  | 
static javax.mail.Address | 
getSenderFromContext(UserContext uc,
                    Mandant client)  | 
static IMailContext | 
getSystemContext()  | 
static void | 
setMailContextFactory(IMailContextFactory factory)  | 
public static void setMailContextFactory(IMailContextFactory factory)
public static IMailContext getContextFor(MandantMailData mailData)
public static IMailContext getSystemContext()
public static javax.mail.Address getSenderFromContext(UserContext uc, Mandant client) throws javax.mail.internet.AddressException, UnsupportedEncodingException
javax.mail.internet.AddressExceptionUnsupportedEncodingExceptionpublic static javax.mail.Address getSenderFromContext(Mandant m) throws javax.mail.internet.AddressException, UnsupportedEncodingException
javax.mail.internet.AddressExceptionUnsupportedEncodingExceptionpublic static IMailContext getContextFor(Mandant m)
public static IMailContext getContextFor(String server, Integer port, javax.mail.Authenticator auth, EMailEncryption encryption)
Copyright © 2020 XIMA MEDIA GmbH. All rights reserved.