public class EmailAppender extends AbstractFormattedAppender
| Constructor and Description |
|---|
EmailAppender(String smtpServer,
int smtpPort) |
EmailAppender(String smtpServer,
int smtpPort,
Authentication authentication) |
EmailAppender(String smtpServer,
int smtpPort,
Authentication authentication,
boolean secure) |
EmailAppender(String smtpServer,
int smtpPort,
boolean secure) |
EmailAppender(String smtpServer,
int smtpPort,
String from,
String to,
String subject) |
| Modifier and Type | Method and Description |
|---|---|
void |
handleOutput(String output) |
void |
setFrom(String from) |
void |
setSubject(String subject) |
void |
setTo(String to) |
handleOutputaddFilter, clearFilters, close, getErrorHandler, getFilters, getFormatter, getName, handleError, isActive, publish, setActive, setErrorHandler, setFilter, setFilters, setFormatter, setNamepublic EmailAppender(String smtpServer, int smtpPort)
public EmailAppender(String smtpServer, int smtpPort, Authentication authentication)
public EmailAppender(String smtpServer, int smtpPort, boolean secure)
public EmailAppender(String smtpServer, int smtpPort, Authentication authentication, boolean secure)
public void setFrom(String from)
public void setTo(String to)
public void setSubject(String subject)
public void handleOutput(String output) throws Exception
handleOutput in class AbstractFormattedAppenderExceptionCopyright © 2019. All rights reserved.