public class AlertMailer extends Object
AlertMailer
handles email based alerting outputConstructor and Description |
---|
AlertMailer(AlertConfiguration cfg)
Create new
AlertMailer with specified AlertConfiguration |
Modifier and Type | Method and Description |
---|---|
void |
sendToAddress(Alert a,
String address)
Send email alert to specified address
|
void |
sendToCatchall(Alert a)
Send email alert to configured catchall address
|
public AlertMailer(AlertConfiguration cfg) throws IOException
AlertMailer
with specified AlertConfiguration
cfg
- AlertConfiguration
IOException
- IOExceptionCopyright © 2022. All rights reserved.