class JavaMailController extends com.metaring.framework.controller.AbstractBaseController implements EmailController
| Modifier and Type | Field and Description |
|---|---|
private Long |
actualLevel |
private static Long |
CUSTOM_INFO_LEVEL |
private javax.mail.Session |
javaMailSession |
private boolean |
test |
private javax.mail.internet.InternetAddress[] |
testAddress |
CFG_EMAIL, CFG_PASSWORD, CFG_SENDER, CFG_TEST, CFG_TEST_ADDRESS, CFG_USERNAME| Constructor and Description |
|---|
JavaMailController() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
info(String description,
javax.mail.Address[]... addresses) |
void |
reinit(com.metaring.framework.SysKB sysKB) |
void |
send(EmailMessage emailMessage) |
void |
send(EmailMessageSeries emailMessageSeries) |
private void |
sendWork(EmailMessage emailMessage) |
protected javax.mail.Address |
toJavaMailAddress(com.metaring.framework.type.Email email) |
protected javax.mail.Address |
toJavaMailAddress(EmailContact emailContact) |
protected javax.mail.Address[] |
toJavaMailAddressArray(EmailContactSeries emailContactSeries) |
concatenate, config, debug, entering, entering, exiting, exiting, getLogger, getTest, info, isTest, setLoggerStackPosition, setTest, severe, severe, warningdataRepresentationFromJson, dataRepresentationFromObject, digitSeriesFromJson, emailFromJson, emailSeriesFromJson, executionEnvironmentByName, executionEnvironmentDEVELOPMENT, executionEnvironmentPRODUCTION, executionEnvironmentTEST, loadSysKB, logMessageTypeByName, logMessageTypeByPriorityLevel, logMessageTypeCONFIG, logMessageTypeDEBUG, logMessageTypeENTERING, logMessageTypeEXITING, logMessageTypeINFO, logMessageTypeSEVERE, logMessageTypeWARNING, newDataRepresentation, newDigitSeries, newDigitSeries, newEmail, newEmail, newEmailSeries, newEmailSeries, newLogger, newLogger, newLogger, newLogger, newRealDigitSeries, newRealDigitSeries, newSysKB, newSysKB, newSysKB, newSysKB, newSysKB, newTextSeries, newTextSeries, newTruthSeries, newTruthSeries, realDigitSeriesFromJson, textSeriesFromJson, truthSeriesFromJsonclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitshutdownprivate javax.mail.Session javaMailSession
private static final Long CUSTOM_INFO_LEVEL
private Long actualLevel
private boolean test
private javax.mail.internet.InternetAddress[] testAddress
public void send(EmailMessageSeries emailMessageSeries) throws com.metaring.framework.exception.ManagedException, com.metaring.framework.functionality.UnmanagedException
send in interface EmailControllercom.metaring.framework.exception.ManagedExceptioncom.metaring.framework.functionality.UnmanagedExceptionpublic void send(EmailMessage emailMessage)
private final void sendWork(EmailMessage emailMessage) throws com.metaring.framework.exception.ManagedException, com.metaring.framework.functionality.UnmanagedException
com.metaring.framework.exception.ManagedExceptioncom.metaring.framework.functionality.UnmanagedExceptionprotected void info(String description, javax.mail.Address[]... addresses)
protected javax.mail.Address toJavaMailAddress(EmailContact emailContact) throws javax.mail.internet.AddressException
javax.mail.internet.AddressExceptionprotected javax.mail.Address toJavaMailAddress(com.metaring.framework.type.Email email)
throws javax.mail.internet.AddressException
javax.mail.internet.AddressExceptionprotected javax.mail.Address[] toJavaMailAddressArray(EmailContactSeries emailContactSeries) throws javax.mail.internet.AddressException
javax.mail.internet.AddressExceptionpublic void reinit(com.metaring.framework.SysKB sysKB)
reinit in interface EmailControllerCopyright © 2019. All rights reserved.