public class SMTPNotificationManager extends Object implements NotificationManager
| Constructor and Description |
|---|
SMTPNotificationManager(String[] recipientEmailAddresses,
ConfigurationManager configurationManager)
Sets up and tests a connection to an SMTP server
|
| Modifier and Type | Method and Description |
|---|---|
void |
sendEmail(String subject,
String body)
Send a generic notification to the mill's admin
|
public SMTPNotificationManager(String[] recipientEmailAddresses, ConfigurationManager configurationManager)
recipientEmailAddresses - configurationManager - public void sendEmail(String subject, String body)
NotificationManagersendEmail in interface NotificationManagersubject - message subjectbody - message bodyCopyright © 2013–2020 LYRASIS. All rights reserved.