| Constructor and Description |
|---|
InternalMailUtils() |
| Modifier and Type | Method and Description |
|---|---|
static javax.mail.Authenticator |
authenticator(Mandant m) |
static javax.mail.Authenticator |
authenticator(String name,
String password) |
static SmtpCtx |
mailCtxFor(Mandant m)
(internes Synchronisations-Objekt)
|
static boolean |
send(Mandant m,
MailParams mail) |
static boolean |
send(Properties smtpProps,
javax.mail.Authenticator auth,
MailParams mail) |
static Properties |
smtpProps(Mandant m) |
static Properties |
smtpProps(String server,
int port,
boolean auth,
EMailEncryption enc) |
public static Properties smtpProps(Mandant m)
public static Properties smtpProps(String server, int port, boolean auth, EMailEncryption enc)
public static javax.mail.Authenticator authenticator(Mandant m)
public static boolean send(Mandant m, MailParams mail) throws javax.mail.MessagingException
javax.mail.MessagingExceptionpublic static boolean send(Properties smtpProps, javax.mail.Authenticator auth, MailParams mail) throws javax.mail.MessagingException, IllegalArgumentException
javax.mail.MessagingExceptionIllegalArgumentExceptionCopyright © 2016. All rights reserved.